services

package
v0.0.0-...-fb1cdef Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Func

type Func func(*webapi.Engine) error

type NotesAPI

type NotesAPI struct{}

Example service.

func (*NotesAPI) Create

func (api *NotesAPI) Create(ctx webapi.Context) error

func (*NotesAPI) GetByID

func (api *NotesAPI) GetByID(ctx webapi.Context) error

func (*NotesAPI) GetByIDFromPath

func (api *NotesAPI) GetByIDFromPath(ctx webapi.Context) error

func (*NotesAPI) Middlewares

func (api *NotesAPI) Middlewares() []webapi.Middleware

func (*NotesAPI) Prefix

func (api *NotesAPI) Prefix() string

func (*NotesAPI) Routers

func (api *NotesAPI) Routers() map[string]webapi.RouterByPath

type RequestAPI

type RequestAPI struct{}

Example service.

func (*RequestAPI) Create

func (api *RequestAPI) Create(ctx webapi.Context) error

func (*RequestAPI) CreateSubRequest

func (api *RequestAPI) CreateSubRequest(ctx webapi.Context) error

func (*RequestAPI) Filter

func (api *RequestAPI) Filter(ctx webapi.Context) error

func (*RequestAPI) GetByID

func (api *RequestAPI) GetByID(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

Jump to

Keyboard shortcuts

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