Documentation ¶
Index ¶
- type Func
- type NotesAPI
- func (api *NotesAPI) Create(ctx webapi.Context) error
- func (api *NotesAPI) GetByID(ctx webapi.Context) error
- func (api *NotesAPI) GetByIDFromPath(ctx webapi.Context) error
- func (api *NotesAPI) Middlewares() []webapi.Middleware
- func (api *NotesAPI) Prefix() string
- func (api *NotesAPI) Routers() map[string]webapi.RouterByPath
- type RequestAPI
- func (api *RequestAPI) Create(ctx webapi.Context) error
- func (api *RequestAPI) CreateSubRequest(ctx webapi.Context) error
- func (api *RequestAPI) Filter(ctx webapi.Context) error
- func (api *RequestAPI) GetByID(ctx webapi.Context) error
- func (api *RequestAPI) Middlewares() []webapi.Middleware
- func (api *RequestAPI) Prefix() string
- func (api *RequestAPI) Routers() map[string]webapi.RouterByPath
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NotesAPI ¶
type NotesAPI struct{}
Example service.
func (*NotesAPI) Middlewares ¶
func (api *NotesAPI) Middlewares() []webapi.Middleware
type RequestAPI ¶
type RequestAPI struct{}
Example service.
func (*RequestAPI) CreateSubRequest ¶
func (api *RequestAPI) CreateSubRequest(ctx webapi.Context) error
func (*RequestAPI) Middlewares ¶
func (api *RequestAPI) Middlewares() []webapi.Middleware
func (*RequestAPI) Prefix ¶
func (api *RequestAPI) Prefix() string
func (*RequestAPI) Routers ¶
func (api *RequestAPI) Routers() map[string]webapi.RouterByPath
Click to show internal directories.
Click to hide internal directories.