config

package
v0.0.0-...-2bc4f80 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApiConfig

type ApiConfig struct {
	Name string   `json:"name"`
	Host string   `json:"host"`
	Tags []string `json:"tags"`
}

type ConsulConfig

type ConsulConfig struct {
	Host string `json:"host"`
	Port int    `json:"port"`
}

type JWTConfig

type JWTConfig struct {
	SigningKey string `json:"signingKey"`
	Expiration int    `json:"expiration"`
}

type JaegerConfig

type JaegerConfig struct {
	Host string `json:"host"`
	Port int    `json:"port"`
}

type NacosConfig

type NacosConfig struct {
	Host      string `mapstructure:"host"`
	Port      int    `mapstructure:"port"`
	Namespace string `mapstructure:"namespace"`
	User      string `mapstructure:"userService"`
	Password  string `mapstructure:"password"`
	DataId    string `mapstructure:"dataId"`
	Group     string `mapstructure:"group"`
}

type ServerConfig

type ServerConfig struct {
	Api     ApiConfig     `json:"api"`
	Service ServiceConfig `json:"service"`
	JWT     JWTConfig     `json:"jwt"`
	Consul  ConsulConfig  `json:"consul"`
	Jaeger  JaegerConfig  `json:"jaeger"`
}

type ServiceConfig

type ServiceConfig struct {
	User       string `json:"user"`
	Admin      string `json:"admin"`
	Meeting    string `json:"meeting"`
	ThirdParty string `json:"thirdParty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL