server

package
v0.0.0-...-e82ecba Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeInfo

type NodeInfo struct {
	Name    string
	Address string
	Term    int32

	LeaderName    string
	LeaderAddress string

	Server map[string]string
	// contains filtered or unexported fields
}

type Server

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

func New

func New(cfg config.Config) *Server

func (*Server) Delete

func (*Server) Get

func (*Server) Put

func (*Server) Run

func (s *Server) Run()

func (*Server) SearchByPrefix

func (s *Server) SearchByPrefix(ctx context.Context, req *themis.SearchRequest) (*themis.SearchResponse, error)

func (*Server) Watch

func (*Server) WatchStream

Jump to

Keyboard shortcuts

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