Documentation ¶
Index ¶
- func NewServer(opts *options.GlobalOption) factory.Application
- type RawServer
- func (rs *RawServer) GetMachine(ctx context.Context, req *types.ExampleRequest) (resp *types.ExampleResponse, err error)
- func (rs *RawServer) Heartbeat(ctx context.Context, req *types.HeartbeatRequest) (resp *types.HeartbeatResponse, err error)
- func (rs *RawServer) RegisterCommand()
- func (rs *RawServer) Run() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServer ¶
func NewServer(opts *options.GlobalOption) factory.Application
Types ¶
type RawServer ¶
type RawServer struct { factory.FrameworkInterface // contains filtered or unexported fields }
func (*RawServer) GetMachine ¶
func (rs *RawServer) GetMachine(ctx context.Context, req *types.ExampleRequest) (resp *types.ExampleResponse, err error)
func (*RawServer) Heartbeat ¶
func (rs *RawServer) Heartbeat(ctx context.Context, req *types.HeartbeatRequest) (resp *types.HeartbeatResponse, err error)
func (*RawServer) RegisterCommand ¶
func (rs *RawServer) RegisterCommand()
Click to show internal directories.
Click to hide internal directories.