api

package
v0.0.0-...-529fe40 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrResponse

type ErrResponse struct {
	Error string `json:"error"`
}

type GetResponse

type GetResponse struct {
	Value any `json:"value"`
}

type PutRequest

type PutRequest struct {
	Value any `json:"value"`
}

type Server

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

func NewHttpApiServer

func NewHttpApiServer(storage kvstore.KvStore) *Server

func (*Server) Start

func (s *Server) Start(address string) error

Jump to

Keyboard shortcuts

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