services1

package
v0.0.0-...-38ac3ec Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL