api

package
v0.0.0-...-fb9b982 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Mstore = make(map[string][]byte)
)

Functions

This section is empty.

Types

type Server

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

Server is the Rest instance

func New

func New(be store.Store, ep string) *Server

New will generate a new server instance for the given store back-end

func (*Server) KVkeys

func (ap *Server) KVkeys(w http.ResponseWriter, r *http.Request)

func (*Server) KVrequest

func (ap *Server) KVrequest(w http.ResponseWriter, r *http.Request)

func (*Server) Run

func (ap *Server) Run()

Run startup and serves

Jump to

Keyboard shortcuts

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