Documentation ¶
Index ¶
- func IsError(t *testing.T, expected error, actual error) bool
- func IsOneOfErrors(t *testing.T, expected []error, actual error) bool
- func MakeDuration(str string) domain.Duration
- func MakeDurationPtr(str string) *domain.Duration
- func MakeIntPtr(value int) *int
- func MessagesEqual(t *testing.T, expected []domain.Message, actual []domain.Message)
- func WithTextFile(t *testing.T, content string, f func(filename string))
- type ChannelProviderFunc
- type StubClock
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsOneOfErrors ¶
IsOneOfErrors asserts error object
func MakeDurationPtr ¶
MakeDurationPtr parses *time.Duration
func MessagesEqual ¶
MessagesEqual compares list of Messages by it's content
Types ¶
type ChannelProviderFunc ¶
ChannelProviderFunc wraps function as ChannelProvider
func (ChannelProviderFunc) GetFileDescriptorPressure ¶
func (f ChannelProviderFunc) GetFileDescriptorPressure() int
GetFileDescriptorPressure implements ChannelProvider
func (ChannelProviderFunc) JWTClockSkewLeewayMax ¶
func (f ChannelProviderFunc) JWTClockSkewLeewayMax() domain.Duration
JWTClockSkewLeewayMax implements ChannelProvider
func (ChannelProviderFunc) Shutdown ¶
func (f ChannelProviderFunc) Shutdown(ctx context.Context)
Shutdown closes ChannelProvider
Click to show internal directories.
Click to hide internal directories.