Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Server struct {
Port string `yaml:"port"`
Host string `yaml:"host"`
RootEndpoint string `yaml:"rootEndpoint"`
StatusEndpoint string `yaml:"statusEndpoint"`
ShortenEndpoint string `yaml:"shortenEndpoint"`
LimitEndpoint string `yaml:"limitEndpoint"`
FindEndpoint string `yaml:"findEndpoint"`
} `yaml:"server"`
Database struct {
Type string `yaml:"type"`
} `yaml:"database"`
ShortUrl struct {
Length int `yaml:"length"`
} `yaml:"shortUrl"`
}
Click to show internal directories.
Click to hide internal directories.