server

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: GPL-2.0, GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrClientNotFound = errors.New("client not found")
)

Functions

This section is empty.

Types

type Server

type Server struct {
	client.UnimplementedClientServiceServer
	// contains filtered or unexported fields
}

func New

func New(s store.Storer) *Server

func (*Server) CreateClient

func (*Server) DeleteClientByUUID

func (*Server) GetClientByUUID

func (*Server) GetClients

func (*Server) ListenGRPC

func (s *Server) ListenGRPC(port int) error

func (*Server) UpdateClientByUUID

Jump to

Keyboard shortcuts

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