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 VideoServiceClient ¶
type VideoServiceClient struct {
// contains filtered or unexported fields
}
VideoServiceClient 视频服务SDK
func NewVideoServiceClientFromCfg ¶
func NewVideoServiceClientFromCfg() (*VideoServiceClient, error)
NewVideoServiceClientFromCfg 从配置文件读取注册中心配置
func NewVideoServiceClientFromEnv ¶
func NewVideoServiceClientFromEnv() (*VideoServiceClient, error)
NewVideoServiceClientFromEnv 从环境变量读取注册中心配置
func (*VideoServiceClient) FavoriteService ¶
func (c *VideoServiceClient) FavoriteService() favorite.ServiceClient
FavoriteService 视频点赞RPC客户端实例
func (*VideoServiceClient) VideoService ¶
func (c *VideoServiceClient) VideoService() video.ServiceClient
Click to show internal directories.
Click to hide internal directories.