update webapi

This commit is contained in:
ginuerzh
2022-02-09 11:37:09 +08:00
parent f1eaef8d69
commit c1bf501734
5 changed files with 792 additions and 12 deletions

View File

@ -54,7 +54,9 @@ type ProfilingConfig struct {
}
type APIConfig struct {
Addr string `json:"addr"`
Addr string `json:"addr"`
PathPrefix string `yaml:"pathPrefix,omitempty" json:"pathPrefix,omitempty"`
AccessLog bool `yaml:"accesslog,omitempty" json:"accesslog,omitemtpy"`
}
type TLSConfig struct {