Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JsonSerializer ¶
type JsonSerializer struct{}
type Option ¶
type Option func(*ValKStore)
func WithCodec ¶
func WithCodec(codec securecookie.Codec) Option
func WithOptions ¶ added in v0.1.2
func WithPrefix ¶
func WithSerializer ¶
func WithSerializer(serializer Serializer) Option
type Serializer ¶
type ValKStore ¶
type ValKStore struct {
// contains filtered or unexported fields
}
ValKStore implements a gorilla/sessions store backed by a ValKey database Utilizing valkey-go under the hood for higher throughput compared to the go-redis driver
func NewValKStore ¶
func NewValKStoreWithClientOption ¶
func NewValKStoreWithClientOption(option valkey.ClientOption, options ...Option) (*ValKStore, error)
Click to show internal directories.
Click to hide internal directories.