api

package
v0.0.0-...-fa01fcf Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(httpAddr, raftAddr, raftId, rafCluster string)

Types

type HttpServer

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

func (HttpServer) Del

func (h HttpServer) Del(w http.ResponseWriter, r *http.Request)

func (HttpServer) Get

func (h HttpServer) Get(w http.ResponseWriter, r *http.Request)

func (HttpServer) Set

func (h HttpServer) Set(w http.ResponseWriter, r *http.Request)

func (HttpServer) State

func (h HttpServer) State(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

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