server

package
v0.91.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MDB_PATH     = "github.com/brotherlogic/mdb"
	GHB_PASSWORD = "ghbridge_password"

	REFILL_FREQUENCY = time.Minute * 5
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func NewServer

func NewServer(ctx context.Context) *Server

func (*Server) ListMachines added in v0.4.0

func (s *Server) ListMachines(ctx context.Context, req *pb.ListMachinesRequest) (*pb.ListMachinesResponse, error)

func (*Server) RunRefillLoop added in v0.37.0

func (s *Server) RunRefillLoop()

func (*Server) UpdateMachine added in v0.38.0

func (s *Server) UpdateMachine(ctx context.Context, req *pb.UpdateMachineRequest) (*pb.UpdateMachineResponse, error)

Jump to

Keyboard shortcuts

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