Discover Packages
github.com/jxlwqq/blog-microservices
internal
pkg
config
package
Version:
v0.0.0-...-835a9d8
Opens a new window with list of versions in this module.
Published: May 9, 2024
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Auth struct {
Server Server
}
type Blog struct {
Server Server
}
type DB struct {
Host string `json:"host" yaml:"host"`
Port string `json:"port" yaml:"port"`
User string `json:"user" yaml:"user"`
Password string `json:"password" yaml:"password"`
Name string `json:"name" yaml:"name"`
}
type DTM struct {
Server Server
}
type GRPC struct {
Port string `json:"port" yaml:"port"`
}
type HTTP struct {
Port string `json:"port" yaml:"port"`
}
type JWT struct {
Secret string `json:"secret" yaml:"secret"`
Expires time .Duration `json:"expires" yaml:"expires"`
}
type Metrics struct {
Port string `json:"port" yaml:"port"`
}
type Post struct {
DB DB
Server Server
}
type User struct {
DB DB
Server Server
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.