Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Logger l.Wrapper `yaml:"-"` Listen string `yaml:"Listen"` GRPCTLSConfig *servicetoolset.GRPCTlsFileConfig `yaml:"GRPCTLSConfig"` WebAddress string `yaml:"WebAddress"` CustomerListen string `yaml:"CustomerListen"` CustomerUserListen string `yaml:"CustomerUserListen"` ServicerListen string `yaml:"ServicerListen"` ServicerUserListen string `yaml:"ServicerUserListen"` TalkMongoDSN string `yaml:"TalkMongoDSN"` RabbitMQURL string `yaml:"RabbitMQURL"` UserMongoDSN string `yaml:"UserMongoDSN"` CustomerTokenSecret string `yaml:"CustomerTokenSecret"` ServicerTokenSecret string `yaml:"ServicerTokenSecret"` ServicerPasswordSecret string `yaml:"ServicerPasswordSecret"` Dev Dev `yaml:"Dev"` }
type WSConfig ¶
type WSConfig struct { Logger l.Wrapper `yaml:"-"` CustomerListen string `yaml:"CustomerListen"` CustomerGRPCClientConfig *clienttoolset.GRPCClientConfig `yaml:"CustomerGRPCClientConfig"` CustomerUserGRPCClientConfig *clienttoolset.GRPCClientConfig `yaml:"CustomerUserGRPCClientConfig"` ServicerListen string `yaml:"ServicerListen"` ServicerGRPCClientConfig *clienttoolset.GRPCClientConfig `yaml:"ServicerGRPCClientConfig"` ServicerUserGRPCClientConfig *clienttoolset.GRPCClientConfig `yaml:"ServicerUserGRPCClientConfig"` }
func GetWSConfig ¶
func GetWSConfig() *WSConfig
Click to show internal directories.
Click to hide internal directories.