config

package
v0.0.0-...-d5e99cb Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiContext

type ApiContext struct {
	Config Config
	Client *redis.Client
}

type Config

type Config struct {
	Redis  RedisConfig
	Secret string
}

func Get

func Get() Config

type RedisConfig

type RedisConfig struct {
	Password string
	Addr     string
	Username string
	Db       int
}

Jump to

Keyboard shortcuts

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