Documentation ¶
Index ¶
- type AuthorizerV1
- func (c *AuthorizerV1) Admin() func(res http.ResponseWriter, req *http.Request, next http.HandlerFunc)
- func (c *AuthorizerV1) Anybody() func(res http.ResponseWriter, req *http.Request, next http.HandlerFunc)
- func (c *AuthorizerV1) Owner(idParam string) func(res http.ResponseWriter, req *http.Request, next http.HandlerFunc)
- func (c *AuthorizerV1) Signed() func(res http.ResponseWriter, req *http.Request, next http.HandlerFunc)
- type FacadeServiceV1
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizerV1 ¶
type AuthorizerV1 struct {
// contains filtered or unexported fields
}
func NewAuthorizerV1 ¶
func NewAuthorizerV1() *AuthorizerV1
func (*AuthorizerV1) Admin ¶
func (c *AuthorizerV1) Admin() func(res http.ResponseWriter, req *http.Request, next http.HandlerFunc)
System administrator
func (*AuthorizerV1) Anybody ¶
func (c *AuthorizerV1) Anybody() func(res http.ResponseWriter, req *http.Request, next http.HandlerFunc)
Anybody who entered the system
func (*AuthorizerV1) Owner ¶
func (c *AuthorizerV1) Owner(idParam string) func(res http.ResponseWriter, req *http.Request, next http.HandlerFunc)
Only the user session owner
func (*AuthorizerV1) Signed ¶
func (c *AuthorizerV1) Signed() func(res http.ResponseWriter, req *http.Request, next http.HandlerFunc)
Only registered and authenticated users
type FacadeServiceV1 ¶
type FacadeServiceV1 struct { *rpcservices.RestService // contains filtered or unexported fields }
func NewFacadeServiceV1 ¶
func NewFacadeServiceV1() *FacadeServiceV1
func (*FacadeServiceV1) Configure ¶
func (c *FacadeServiceV1) Configure(config *cconf.ConfigParams)
func (*FacadeServiceV1) Register ¶
func (c *FacadeServiceV1) Register()
func (*FacadeServiceV1) SetReferences ¶
func (c *FacadeServiceV1) SetReferences(references cref.IReferences)
Click to show internal directories.
Click to hide internal directories.