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.bannedservice"
DiscoveryAppId the discovery id is not the tree name
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { // V1AdminSilent presents the controller in liverpc V1AdminSilent v1.AdminSilent // V1Shield presents the controller in liverpc V1Shield v1.Shield // V1ShieldMng presents the controller in liverpc V1ShieldMng v1.ShieldMng // V1Silent presents the controller in liverpc V1Silent v1.Silent // V1SilentMng presents the controller in liverpc V1SilentMng v1.SilentMng // V1SiteBlockMng presents the controller in liverpc V1SiteBlockMng v1.SiteBlockMng // contains filtered or unexported fields }
Client that represents a liverpc banned_service service api
func New ¶
func New(conf *liverpc.ClientConfig) *Client
New a Client that represents a liverpc live.bannedservice 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.