server

package
v0.0.0-...-117abf3 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type Error

type Error string
const (
	ErrNoLoginData Error = "no login data"
	ErrBadNodeName Error = "bad node name"
)

func (Error) Error

func (e Error) Error() string

type Server

type Server struct {
	pb.UnimplementedWaterHoseServiceServer
	// contains filtered or unexported fields
}

func (*Server) JoinChannel

func (s *Server) JoinChannel(ctx context.Context, req *pb.JoinChannelRequest) (*pb.JoinChannelResponse, error)

func (*Server) RegisterSlave

func (*Server) SlaveJoinLimit

func (s *Server) SlaveJoinLimit(ctx context.Context, req *pb.SlaveJoinLimitRequest) (*pb.SlaveJoinLimitResponse, error)

Jump to

Keyboard shortcuts

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