Documentation
¶
Index ¶
- type Api
- func (sc *Api) Attached(method string) bool
- func (a *Api) Create(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func (a *Api) Delete(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func (a *Api) List(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func (a *Api) Read(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func (a *Api) Replace(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- func (a *Api) Update(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
- type LogEntry
- type ObsLogStore
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Api ¶
type Api struct {
*ObsLogStore
}
func (*Api) Create ¶
func (a *Api) Create(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
func (*Api) Delete ¶
func (a *Api) Delete(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
func (*Api) List ¶
func (a *Api) List(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
func (*Api) Read ¶
func (a *Api) Read(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
func (*Api) Replace ¶
func (a *Api) Replace(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
func (*Api) Update ¶
func (a *Api) Update(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
type ObsLogStore ¶
type ObsLogStore struct {
// contains filtered or unexported fields
}
func NewObsLogStore ¶
func (*ObsLogStore) AddLogEntry ¶
func (s *ObsLogStore) AddLogEntry(entry *LogEntry) error
func (*ObsLogStore) GetLogEntriesByVex ¶
Click to show internal directories.
Click to hide internal directories.