Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // 服务器端配置 Server *config.Server `json:"server" yaml:"server" xml:"server" toml:"server"` // 网关配置 Gateway *config.Gateway `json:"gateway" yaml:"gateway" xml:"gateway" toml:"gateway"` // 客户端配置 Clients []config.Client `json:"clients" yaml:"clients" toml:"clients" xml:"clients"` // gRPC配置 Options config.Options `json:"options" yaml:"options" xml:"options" toml:"options"` }
type Constructor ¶ added in v0.4.3
type Constructor struct { }
func (*Constructor) NewGateway ¶ added in v0.4.3
func (c *Constructor) NewGateway(logger log.Logger) *core.Gateway
Click to show internal directories.
Click to hide internal directories.