streamingnode

package
v0.10.3-0...-304cdc7 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: Apache-2.0 Imports: 38 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

Server is the grpc server of streamingnode.

func NewServer

func NewServer(f dependency.Factory) (*Server, error)

NewServer create a new StreamingNode server.

func (*Server) Health

func (s *Server) Health(ctx context.Context) commonpb.StateCode

Health check the health status of streamingnode.

func (*Server) Prepare

func (s *Server) Prepare() error

func (*Server) Run

func (s *Server) Run() error

Run runs the server.

func (*Server) Stop

func (s *Server) Stop() (err error)

Stop stops the server, should be call after Run returned.

Jump to

Keyboard shortcuts

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