Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetSubsystem ¶
func WithMode ¶
func WithMode(mode Mode) func(*RefreshOpts)
func WithTTL ¶
func WithTTL(ttl time.Duration) func(*RefreshOpts)
Types ¶
type Cache ¶
type Cache[T any] struct { // contains filtered or unexported fields }
func NewServerCache ¶
type RefreshOption ¶
type RefreshOption func(ro *RefreshOpts)
type RefreshOpts ¶
type RefreshOpts struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.