server

package
v0.0.0-...-5808d2a Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2022 License: MIT Imports: 16 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 {
	// contains filtered or unexported fields
}

func NewServer

func NewServer() *Server

func (*Server) AddTask

func (s *Server) AddTask(ctx context.Context, req *common.TaskInfo) (*common.Empty, error)

func (*Server) ApplyCertificate

func (s *Server) ApplyCertificate(ctx context.Context, req *agent.ApplyCertificateReq) (*common.Certificate, error)

func (*Server) ModifyTask

func (s *Server) ModifyTask(ctx context.Context, req *common.TaskInfo) (*common.Empty, error)

func (*Server) Run

func (s *Server) Run() error

Jump to

Keyboard shortcuts

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