config

package
v0.0.0-...-f39fe76 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: MIT Imports: 2 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 {
	Server     Server
	Persistent Persistent
}

type GoCache

type GoCache struct {
	DefaultExpiredTime time.Duration
	CleanupInterval    time.Duration
}

type Persistent

type Persistent struct {
	GoCache GoCache
	Redis   Redis
}

type Redis

type Redis struct {
	DataSource string
}

type Server

type Server struct {
	Hostname string
	Port     int
	Debug    bool
}

func (Server) String

func (s Server) String() string

Jump to

Keyboard shortcuts

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