server

package
v0.0.0-...-7788d34 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2024 License: Apache-2.0, Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Kvs

func Kvs(kvs storage.Kvs) func(*Server)

Types

type Response

type Response struct {
	Status string
	Data   string
}

type Server

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

Kvs server

func New

func New(options ...func(*Server)) *Server

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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