master

package
v0.0.28 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: GPL-3.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustInitMasterService

func MustInitMasterService(creds credentials.TransportCredentials)

func NewRpcServer

func NewRpcServer(creds credentials.TransportCredentials) *grpc.Server

func RunRpcServer

func RunRpcServer(s *grpc.Server)

Types

type Master

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

func NewMasterHandler

func NewMasterHandler(creds credentials.TransportCredentials) *Master

func (*Master) Run

func (s *Master) Run()

func (*Master) Stop

func (s *Master) Stop()

type MasterHandler

type MasterHandler interface {
	Run()
	Stop()
}

func GetMasterSerivce

func GetMasterSerivce() MasterHandler

Jump to

Keyboard shortcuts

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