server

package
v0.0.0-...-adc1ce0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Input

type Input struct {
	Backend      plugin.BackendPlugin
	Cli          *cli.Context
	Interceptors []plugin.InterceptorPlugin
	Srv          *grpc.Server
}

type Server

type Server struct {
	Addr         string
	Backend      plugin.BackendPlugin
	Interceptors []plugin.InterceptorPlugin
	Srv          *grpc.Server
}

func NewServer

func NewServer(in *Input) *Server

func (*Server) Delete

func (s *Server) Delete(t string, m interface{}, retR interface{}) error

func (*Server) Get

func (s *Server) Get(t string, m interface{}, retR interface{}) error

func (*Server) List

func (s *Server) List(t string, m interface{}, retArrM interface{}) error

func (*Server) Run

func (s *Server) Run() error

func (*Server) Set

func (s *Server) Set(t string, r interface{}) error

Jump to

Keyboard shortcuts

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