Documentation ¶
Index ¶
Constants ¶
View Source
const ( EventModeNats = "nats" //使用nats来通讯 EventModeDirect = "direct" //直接调用 )
View Source
const ( ClientModeGrpc = "grpc" ClientModeDirect = "direct" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConf ¶ added in v0.3.0
type AuthConf struct { IpRange []string //白名单ip 及ip段 Users []AuthUserInfo }
type AuthUserInfo ¶ added in v0.3.0
type DevLinkConf ¶
type ProxyConf ¶ added in v0.3.0
type ProxyConf struct { FrontDir string `json:",default=./dist"` //前端文件路径 FrontDefaultPage string `json:",default=front/iThingsCore/index.html"` //前端默认文件地址 UrlProxy map[string]string `json:",optional"` //反向http代理配置 }
反向代理配置
type RpcClientConf ¶
type RpcClientConf struct { Conf zrpc.RpcClientConf `json:",optional"` ModeConf }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.