Documentation ¶
Index ¶
Constants ¶
View Source
const ( ConsoleLogMode = "console" FileLogMode = "file" )
View Source
const ( NacosUsernameEnvKey = "NACOS_USERNAME" NacosPasswordEnvKey = "NACOS_PASSWORD" DefaultTimeoutMs = 5000 FrameName = "hertz" DefaultWeight = 10 )
View Source
const (
DefaultHertzClientTimeoutMs = 5000
)
Variables ¶
View Source
var HertzClient *client.Client
Functions ¶
func GetLogLevel ¶
func InitServer ¶
func InitServer(config *config.GlobalConfig) *server.Hertz
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.