api

package
v0.8.4 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server added in v0.2.0

type Server struct {
	// contains filtered or unexported fields
}

func New

func New(port string, quiet, verbose bool) *Server

func (*Server) DeleteSetHandler added in v0.2.0

func (a *Server) DeleteSetHandler() echo.HandlerFunc

func (*Server) GetSetHandler added in v0.2.0

func (a *Server) GetSetHandler() echo.HandlerFunc

func (*Server) GetSetsHandler added in v0.2.0

func (a *Server) GetSetsHandler() echo.HandlerFunc

func (*Server) ModifySetContentHandler added in v0.2.0

func (a *Server) ModifySetContentHandler() echo.HandlerFunc

func (*Server) ModifySetHandler added in v0.2.0

func (a *Server) ModifySetHandler() echo.HandlerFunc

func (*Server) NewSetHandler added in v0.2.0

func (a *Server) NewSetHandler() echo.HandlerFunc

func (*Server) Start added in v0.2.0

func (a *Server) Start() error

type StandardResponse

type StandardResponse struct {
	Version string `json:"apiVersion"`
	Context string `json:"context"`
	Method  string `json:"method"`
	Params  params `json:"params,omitempty"`
	Error   any    `json:"error,omitempty"`
	Data    any    `json:"data"`
}

Jump to

Keyboard shortcuts

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