utils

package
v1.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2025 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(component string) *slog.Logger

Types

type LimitedCache added in v1.3.0

type LimitedCache struct {
	// contains filtered or unexported fields
}

func NewLimitedCache added in v1.3.0

func NewLimitedCache(maxLen int) *LimitedCache

func (*LimitedCache) Load added in v1.3.0

func (c *LimitedCache) Load(t reflect.Type) (interface{}, bool)

func (*LimitedCache) Store added in v1.3.0

func (c *LimitedCache) Store(t reflect.Type, v interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL