grpc

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2022 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrServerCert = errors.New("invalid server cert file")
	ErrServerKey  = errors.New("invalid server key file")
	ErrNoAddr     = errors.New("no address")
	ErrQueryMsg   = errors.New("invalid query message")
)
View Source
var ErrNotExist = errors.New("the object doesn't exist")

Functions

This section is empty.

Types

type Server

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

func NewServer

func NewServer(_ context.Context, pipeline queue.Queue, repo discovery.ServiceRepo, schemaRegistry metadata.Service) *Server

func (Server) Apply added in v0.2.0

func (ps Server) Apply(ctx context.Context, req *propertyv1.ApplyRequest) (*propertyv1.ApplyResponse, error)

func (*Server) FlagSet

func (s *Server) FlagSet() *run.FlagSet

func (*Server) GracefulStop

func (s *Server) GracefulStop()

func (*Server) Name

func (s *Server) Name() string

func (*Server) PreRun

func (s *Server) PreRun() error

func (*Server) Serve

func (s *Server) Serve() run.StopNotify

func (*Server) Validate

func (s *Server) Validate() error

Jump to

Keyboard shortcuts

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