endpoints

package
v0.0.0-...-a2f80f4 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

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 (e ClockwerkEndpoint) AddScheduler(ctx context.Context, request *pb.Scheduler) (*pb.Scheduler, error)

func (ClockwerkEndpoint) Backup

func (e ClockwerkEndpoint) Backup(ctx context.Context, request *emptypb.Empty) (*emptypb.Empty, error)

func (ClockwerkEndpoint) DeleteDummy

func (e ClockwerkEndpoint) DeleteDummy(ctx context.Context, request *emptypb.Empty) (*emptypb.Empty, error)

func (ClockwerkEndpoint) DeleteScheduler

func (e ClockwerkEndpoint) DeleteScheduler(ctx context.Context, request *pb.SelectScheduler) (*emptypb.Empty, error)

func (ClockwerkEndpoint) GetDummy

func (e ClockwerkEndpoint) GetDummy(ctx context.Context, request *emptypb.Empty) (*emptypb.Empty, error)

func (ClockwerkEndpoint) GetSchedulers

func (e ClockwerkEndpoint) GetSchedulers(ctx context.Context, empty *emptypb.Empty) (*pb.Schedulers, error)

func (ClockwerkEndpoint) PostDummy

func (e ClockwerkEndpoint) PostDummy(ctx context.Context, request *emptypb.Empty) (*emptypb.Empty, error)

func (ClockwerkEndpoint) PutDummy

func (e ClockwerkEndpoint) PutDummy(ctx context.Context, request *emptypb.Empty) (*emptypb.Empty, error)

func (ClockwerkEndpoint) ToggleScheduler

func (e ClockwerkEndpoint) ToggleScheduler(ctx context.Context, request *pb.SelectToggle) (*emptypb.Empty, error)

Jump to

Keyboard shortcuts

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