Documentation
¶
Index ¶
- type Fake
- func (f *Fake) Call(ctx context.Context, req *internalv1pb.InternalInvokeRequest) (*internalv1pb.InternalInvokeResponse, error)
- func (f *Fake) CallReminder(ctx context.Context, reminder *api.Reminder) error
- func (f *Fake) CallStream(ctx context.Context, req *internalv1pb.InternalInvokeRequest, ...) error
- func (f *Fake) WithCallFn(...) *Fake
- func (f *Fake) WithCallReminderFn(fn func(context.Context, *api.Reminder) error) *Fake
- func (f *Fake) WithCallStreamFn(...) *Fake
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fake ¶
type Fake struct {
// contains filtered or unexported fields
}
func (*Fake) Call ¶
func (f *Fake) Call(ctx context.Context, req *internalv1pb.InternalInvokeRequest) (*internalv1pb.InternalInvokeResponse, error)
func (*Fake) CallReminder ¶
func (*Fake) CallStream ¶
func (f *Fake) CallStream(ctx context.Context, req *internalv1pb.InternalInvokeRequest, stream chan<- *internalv1pb.InternalInvokeResponse) error
func (*Fake) WithCallFn ¶
func (f *Fake) WithCallFn(fn func(context.Context, *internalv1pb.InternalInvokeRequest) (*internalv1pb.InternalInvokeResponse, error)) *Fake
func (*Fake) WithCallReminderFn ¶
func (*Fake) WithCallStreamFn ¶
func (f *Fake) WithCallStreamFn(fn func(ctx context.Context, req *internalv1pb.InternalInvokeRequest, stream chan<- *internalv1pb.InternalInvokeResponse) error) *Fake
Click to show internal directories.
Click to hide internal directories.