Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                

redis

package
v0.0.0-...-0cbb5ad Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	storage.SessionConfig `json:",inline"`

	// The host:port address of redis server.
	Address string
	// Optional password. Must match the password specified in the
	// require pass server configuration option.
	Password string
	// Database to be selected after connecting to the server.
	DB int
	// key prefix for storing session
	KeyPrefix string
}

Redis config for connecting to redis server.

func (*Config) Open

func (c *Config) Open() (*storage.Storage, error)

Jump to

Keyboard shortcuts

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