Documentation ¶
Index ¶
- type ClockwerkEndpoint
- func (e ClockwerkEndpoint) AddScheduler(ctx context.Context, request *pb.Scheduler) (*pb.Scheduler, error)
- func (e ClockwerkEndpoint) Backup(ctx context.Context, request *emptypb.Empty) (*emptypb.Empty, error)
- func (e ClockwerkEndpoint) DeleteDummy(ctx context.Context, request *emptypb.Empty) (*emptypb.Empty, error)
- func (e ClockwerkEndpoint) DeleteScheduler(ctx context.Context, request *pb.SelectScheduler) (*emptypb.Empty, error)
- func (e ClockwerkEndpoint) GetDummy(ctx context.Context, request *emptypb.Empty) (*emptypb.Empty, error)
- func (e ClockwerkEndpoint) GetSchedulers(ctx context.Context, empty *emptypb.Empty) (*pb.Schedulers, error)
- func (e ClockwerkEndpoint) PostDummy(ctx context.Context, request *emptypb.Empty) (*emptypb.Empty, error)
- func (e ClockwerkEndpoint) PutDummy(ctx context.Context, request *emptypb.Empty) (*emptypb.Empty, error)
- func (e ClockwerkEndpoint) ToggleScheduler(ctx context.Context, request *pb.SelectToggle) (*emptypb.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClockwerkEndpoint ¶
type ClockwerkEndpoint struct { GetDummyEndpoint endpoint.Endpoint PostDummyEndpoint endpoint.Endpoint DeleteDummyEndpoint endpoint.Endpoint PutDummyEndpoint endpoint.Endpoint GetSchedulersEndpoint endpoint.Endpoint AddSchedulerEndpoint endpoint.Endpoint DeleteSchedulerEndpoint endpoint.Endpoint ToggleSchedulerEndpoint endpoint.Endpoint BackupEndpoint endpoint.Endpoint }
func NewClockwerkEndpoint ¶
func NewClockwerkEndpoint(usecase _interface.Clockwerk) ClockwerkEndpoint
func (ClockwerkEndpoint) AddScheduler ¶
func (ClockwerkEndpoint) DeleteDummy ¶
func (ClockwerkEndpoint) DeleteScheduler ¶
func (e ClockwerkEndpoint) DeleteScheduler(ctx context.Context, request *pb.SelectScheduler) (*emptypb.Empty, error)
func (ClockwerkEndpoint) GetSchedulers ¶
func (e ClockwerkEndpoint) GetSchedulers(ctx context.Context, empty *emptypb.Empty) (*pb.Schedulers, error)
func (ClockwerkEndpoint) ToggleScheduler ¶
func (e ClockwerkEndpoint) ToggleScheduler(ctx context.Context, request *pb.SelectToggle) (*emptypb.Empty, error)
Click to show internal directories.
Click to hide internal directories.