Discover Packages
github.com/cloudzenith/DouTok/backend/shortVideoCoreService
internal
conf
package
Version:
v0.1.11
Opens a new window with list of versions in this module.
Published: Oct 17, 2024
License: GPL-3.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
type App struct {
Name string `yaml:"name" json:"name"`
Version string `yaml:"version" json:"version"`
Node int64 `yaml:"node" json:"node"`
}
type Auth struct {
JWT struct {
AccessSecret string `yaml:"access_secret" json:"access_secret"`
AccessExpire int64 `yaml:"access_expire" json:"access_expire"`
} `yaml:"jwt" json:"jwt"`
}
type Components struct {
MySQL MySQL `yaml:"mysql" json:"mysql"`
Redis Redis `yaml:"redis" json:"redis"`
Consul Consul `yaml:"consul" json:"consul"`
}
type Config struct {
App App `yaml:"app" json:"app"`
Server Server `yaml:"server" json:"server"`
Auth Auth `yaml:"auth" json:"auth"`
Components Components `yaml:"components" json:"components"`
}
type Consul struct {
Default struct {
Address string `yaml:"address" json:"address"`
}
}
type MySQL struct {
Default struct {
Host string `yaml:"host" json:"host"`
Port int `yaml:"port" json:"port"`
DBName string `yaml:"db_name" json:"db_name"`
User string `yaml:"user" json:"user"`
Password string `yaml:"password" json:"password"`
} `yaml:"default" json:"default"`
}
type Redis struct {
Default struct {
DSN string `yaml:"dsn" json:"dsn"`
Password string `yaml:"password" json:"password"`
} `yaml:"default" json:"default"`
}
type Server struct {
Grpc struct {
Addr string `yaml:"addr" json:"addr"`
} `yaml:"grpc" json:"grpc"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.