Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientSetOption ¶
type ClientSetOption func(*ClientSetOptions)
func WithLogger ¶
func WithLogger(lg *zap.SugaredLogger) ClientSetOption
func WithStorageTimeout ¶
func WithStorageTimeout(timeout time.Duration) ClientSetOption
type ClientSetOptions ¶
type ClientSetOptions struct { Logger *zap.SugaredLogger Timeout time.Duration TrackerTtl time.Duration }
func (*ClientSetOptions) Apply ¶
func (s *ClientSetOptions) Apply(opts ...ClientSetOption)
type RequestOption ¶
type RequestOption func(*RequestOptions)
func WithUnredacted ¶
func WithUnredacted() RequestOption
type RequestOptions ¶
type RequestOptions struct {
Unredacted bool
}
func (*RequestOptions) Apply ¶
func (o *RequestOptions) Apply(opts ...RequestOption)
type SyncOption ¶
type SyncOption func(*SyncOptions)
func WithInitialRouter ¶
func WithInitialRouter(router routing.OpniRouting) SyncOption
func WithSyncTimeout ¶
func WithSyncTimeout(timeout time.Duration) SyncOption
type SyncOptions ¶
type SyncOptions struct { Router routing.OpniRouting Timeout time.Duration }
func NewSyncOptions ¶
func NewSyncOptions() *SyncOptions
func (*SyncOptions) Apply ¶
func (o *SyncOptions) Apply(opts ...SyncOption)
Click to show internal directories.
Click to hide internal directories.