Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Flags = flag.NewFlagSet("", flag.ContinueOnError)
Flags is the flag set that AddOptions adds to. Test authors should also use it instead of directly adding to the global command line.
Functions ¶
Types ¶
type Config ¶ added in v3.4.2
type Config struct { APIHost string APIPort string MsgGatewayHost string MsgTransferHost string PushHost string RPCAuthHost string RPCConversationHost string RPCFriendHost string RPCGroupHost string RPCMsgHost string RPCThirdHost string RPCUserHost string }
Config defines the configuration structure for the OpenIM components.
func LoadConfig ¶ added in v3.4.2
func LoadConfig() *Config
LoadConfig loads the configurations from environment variables or default values.
Click to show internal directories.
Click to hide internal directories.