api

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2022 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 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) DeleteNoteHandler added in v1.0.0

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

func (*Server) GetNoteHandler added in v1.0.0

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

func (*Server) GetNotesHandler added in v1.0.0

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

func (*Server) ModifyNoteContentHandler added in v1.0.0

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

func (*Server) ModifyNoteHandler added in v1.0.0

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

func (*Server) NewNoteHandler added in v1.0.0

func (a *Server) NewNoteHandler() 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:"store"`
}

Jump to

Keyboard shortcuts

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