master

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 License: GPL-3.0 Imports: 17 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