Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildinModuleConfig ¶
type BuildinModuleConfig struct {
// contains filtered or unexported fields
}
BuildinModuleConfig buildin module config
func InitBuildinModuleConfig ¶
func InitBuildinModuleConfig(filepath string) *BuildinModuleConfig
InitBuildinModuleConfig init buildin module config
type SocketConfig ¶
type SocketConfig struct { ModuleName string `json:"module"` Server bool `json:"server"` Address string `json:"address"` SocketType string `json:"sockettype,omitempty"` ConnNumberMax int `json:"connmax"` BufferSize int `json:"buffersize,omitempty"` CaRoot string `json:"ca,omitempty"` Cert string `json:"cert,omitempty"` Key string `json:"key,omitempty"` }
SocketConfig socket config
func GetClientSocketConfig ¶
func GetClientSocketConfig(module string) (SocketConfig, error)
GetClientSocketConfig get client socket config
func GetServerSocketConfig ¶
func GetServerSocketConfig() ([]SocketConfig, error)
GetServerSocketConfig get server socket config
Click to show internal directories.
Click to hide internal directories.