server

package
v0.10.3-0...-54aaeda Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 16 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 streamingcoord server.

func (*Server) Init

func (s *Server) Init(ctx context.Context) (err error)

Init initializes the streamingcoord server.

func (*Server) RegisterGRPCService

func (s *Server) RegisterGRPCService(grpcServer *grpc.Server)

registerGRPCService register all grpc service to grpc server.

func (*Server) Start

func (s *Server) Start()

Start starts the streamingcoord server.

func (*Server) Stop

func (s *Server) Stop()

Stop stops the streamingcoord server.

type ServerBuilder

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

func NewServerBuilder

func NewServerBuilder() *ServerBuilder

func (*ServerBuilder) Build

func (s *ServerBuilder) Build() *Server

func (*ServerBuilder) WithETCD

func (b *ServerBuilder) WithETCD(e *clientv3.Client) *ServerBuilder

func (*ServerBuilder) WithMetaKV

func (b *ServerBuilder) WithMetaKV(metaKV kv.MetaKv) *ServerBuilder

func (*ServerBuilder) WithSession

func (b *ServerBuilder) WithSession(session sessionutil.SessionInterface) *ServerBuilder

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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