Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandServer ¶
type CommandServer struct {
api.UnimplementedCommandsServer
}
func NewCommandServer ¶
func NewCommandServer() *CommandServer
func (*CommandServer) Echo ¶
func (s *CommandServer) Echo(ctx context.Context, in *api.EchoRequest) (*api.EchoResponse, error)
func (*CommandServer) Get ¶
func (s *CommandServer) Get(ctx context.Context, in *api.GetRequest) (*api.GetResponse, error)
func (*CommandServer) Set ¶
func (s *CommandServer) Set(ctx context.Context, in *api.SetRequest) (*emptypb.Empty, error)
type Option ¶
type Option func(*Server)
func WithLogger ¶
func WithScheduler ¶
func WithScheduler(scheduler schedule.CronjobRepository) Option
func WithTTLCleanupTime ¶
Click to show internal directories.
Click to hide internal directories.