Documentation ¶
Overview ¶
Code generated by liverpcgen, DO NOT EDIT. source: *.proto files under this directory If you want to change this file, Please see README in go-common/app/tool/liverpc/protoc-gen-liverpc/
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DiscoveryAppId = "live.userext"
DiscoveryAppId the discovery id is not the tree name
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // V0Conf presents the controller in liverpc V0Conf v0.ConfRPCClient // V1Bubble presents the controller in liverpc V1Bubble v1.BubbleRPCClient // V1Color presents the controller in liverpc V1Color v1.ColorRPCClient // V1DanmuConf presents the controller in liverpc V1DanmuConf v1.DanmuConfRPCClient // V1GrayRule presents the controller in liverpc V1GrayRule v1.GrayRuleRPCClient // V1Remind presents the controller in liverpc V1Remind v1.RemindRPCClient // V1Tag presents the controller in liverpc V1Tag v1.TagRPCClient // contains filtered or unexported fields }
Client that represents a liverpc userext service api
func New ¶
func New(conf *liverpc.ClientConfig) *Client
New a Client that represents a liverpc live.userext service api conf can be empty, and it will use discovery to find service by default conf.AppID will be overwrite by a fixed value DiscoveryAppId therefore is no need to set
Click to show internal directories.
Click to hide internal directories.