server

package
v0.10.3-0...-96d0e78 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2025 License: Apache-2.0 Imports: 20 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) RegisterGRPCService

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

RegisterGRPCService register all grpc service to grpc server.

func (*Server) Start

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

Init initializes the streamingcoord server.

func (*Server) Stop

func (s *Server) Stop()

Close closes 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) WithMixCoordClient

func (b *ServerBuilder) WithMixCoordClient(mixCoordClient *syncutil.Future[types.MixCoordClient]) *ServerBuilder

func (*ServerBuilder) WithSession

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

Jump to

Keyboard shortcuts

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