Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JSONResponse ¶
Types ¶
type ApiHandler ¶
type ApiHandler struct { OneBD.BaseHandler UserHandler }
func (*ApiHandler) OnError ¶
func (h *ApiHandler) OnError(err error)
func (*ApiHandler) OnResponse ¶
func (h *ApiHandler) OnResponse(data interface{})
func (*ApiHandler) SetAccessDelta ¶
func (h *ApiHandler) SetAccessDelta(d time.Duration) error
type AppHandler ¶ added in v1.0.0
type AppHandler struct { ApiHandler UUID string }
type UserHandler ¶
func (*UserHandler) GetAuth ¶
func (h *UserHandler) GetAuth(ResourceID string, ResourceUUID ...string) oalib.AuthLevel
func (*UserHandler) Ignore ¶
func (h *UserHandler) Ignore(methods ...rfc.Method)
func (*UserHandler) ParsePayload ¶
func (h *UserHandler) ParsePayload(m OneBD.Meta) error
Click to show internal directories.
Click to hide internal directories.