Documentation ¶
Index ¶
- type Operator
- func (o *Operator) Cancel(opid uuid.UUID) error
- func (o *Operator) Create(ctx context.Context, ...) (uuid.UUID, error)
- func (o *Operator) Get(ctx context.Context, opid uuid.UUID) (*types.Operation, error)
- func (o *Operator) List(ctx context.Context, opts ...listoption.ListOption) ([]*types.Operation, error)
- type Option
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operator ¶
type Operator struct {
// contains filtered or unexported fields
}
func (*Operator) List ¶
func (o *Operator) List(ctx context.Context, opts ...listoption.ListOption) ([]*types.Operation, error)
type Option ¶
type Option func(*Options)
func WithDispatcher ¶
func WithDispatcher(dispatcher types.Dispatcher) Option
func WithLogger ¶
Click to show internal directories.
Click to hide internal directories.