config

package
v1.4.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ShortLinkNotFoundContentMode  = "content"
	ShortLinkNotFoundRedirectMode = "redirect"
)

Variables

This section is empty.

Functions

func GetConfig

func GetConfig() *reborn.Reborn

func GetDefaultShortLinkNotFoundConfig added in v1.2.0

func GetDefaultShortLinkNotFoundConfig() map[string]string

func NewShortLinkNotFoundConfig added in v1.2.0

func NewShortLinkNotFoundConfig(mode string, value string) map[string]string

func SetupConfig added in v1.2.0

func SetupConfig(rdb *redis.Client) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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