Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteRequest ¶
type DeleteRequest struct { }
type DeleteResult ¶
type DeleteService ¶
type DeleteService struct {
// contains filtered or unexported fields
}
func NewDeleteService ¶
func NewDeleteService(logger loggers.ILogger, createDbNotReachableError bool) *DeleteService
func (*DeleteService) Delete ¶
func (s *DeleteService) Delete(ctx context.Context, req *DeleteRequest) (*DeleteResult, error)
type IDeleteService ¶
type IDeleteService interface {
Delete(ctx context.Context, req *DeleteRequest) (*DeleteResult, error)
}
type IListService ¶
type IListService interface {
List(ctx context.Context, req *ListRequest) (*ListResult, error)
}
type IStoreService ¶
type IStoreService interface {
Store(ctx context.Context, req *StoreRequest) (*StoreResult, error)
}
type ListRequest ¶
type ListRequest struct {
Limit int64
}
type ListService ¶
type ListService struct {
// contains filtered or unexported fields
}
func NewListService ¶
func NewListService(logger loggers.ILogger, createDbNotReachableError bool) *ListService
func (*ListService) List ¶
func (s *ListService) List(ctx context.Context, req *ListRequest) (*ListResult, error)
type StoreRequest ¶
type StoreRequest struct {
Task string
}
type StoreResult ¶
type StoreService ¶
type StoreService struct {
// contains filtered or unexported fields
}
func NewStoreService ¶
func NewStoreService(logger loggers.ILogger, createDbNotReachableError bool) *StoreService
func (*StoreService) Store ¶
func (s *StoreService) Store(ctx context.Context, req *StoreRequest) (*StoreResult, error)
Click to show internal directories.
Click to hide internal directories.