Documentation ¶
Overview ¶
@Author: Ciusyan 2023/2/8
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiRooterClient ¶
type ApiRooterClient struct {
// contains filtered or unexported fields
}
func NewApiRooterClientFromCfg ¶
func NewApiRooterClientFromCfg() (*ApiRooterClient, error)
NewApiRooterClientFromCfg 从配置文件读取注册中心配置
func NewApiRooterClientFromEnv ¶
func NewApiRooterClientFromEnv() (*ApiRooterClient, error)
NewApiRooterClientFromEnv 从环境变量读取注册中心配置
func (*ApiRooterClient) TokenService ¶
func (c *ApiRooterClient) TokenService() token.ServiceClient
Click to show internal directories.
Click to hide internal directories.