app

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2025 License: MIT Imports: 14 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 {
	pb.UnimplementedAgentServer
	// contains filtered or unexported fields
}

func NewServer

func NewServer(srvManager *srv.ServiceManager) (*Server, error)

func (*Server) Config

func (s *Server) Config(ctx context.Context, request *pb.ConfigRequest) (*pb.ConfigResponse, error)

func (*Server) Heartbeat

func (s *Server) Heartbeat(ctx context.Context, request *pb.HeartbeatRequest) (*pb.HeartbeatResponse, error)

func (*Server) Register added in v0.1.0

func (s *Server) Register(ctx context.Context, request *pb.RegisterRequest) (*pb.RegisterResponse, error)

func (*Server) Submit

func (s *Server) Submit(ctx context.Context, request *pb.SubmitRequest) (*pb.SubmitResponse, error)

func (*Server) Unregister added in v0.1.0

func (s *Server) Unregister(ctx context.Context, request *pb.UnregisterRequest) (*pb.UnregisterResult, error)

func (*Server) Users

func (s *Server) Users(ctx context.Context, request *pb.UsersRequest) (*pb.UsersResponse, error)

func (*Server) Verify added in v0.1.2

func (s *Server) Verify(ctx context.Context, request *pb.VerifyRequest) (*pb.VerifyResponse, error)

Jump to

Keyboard shortcuts

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