liverpc

package
v0.0.0-...-83adff0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

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.relation"

DiscoveryAppId the discovery id is not the tree name

Functions

This section is empty.

Types

type Client

type Client struct {

	// V1App presents the controller in liverpc
	V1App v1.App
	// V1BaseInfo presents the controller in liverpc
	V1BaseInfo v1.BaseInfo
	// V1Feed presents the controller in liverpc
	V1Feed v1.Feed
	// V2App presents the controller in liverpc
	V2App v2.App
	// contains filtered or unexported fields
}

Client that represents a liverpc relation service api

func New

func New(conf *liverpc.ClientConfig) *Client

New a Client that represents a liverpc live.relation 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

func (*Client) GetRawCli

func (cli *Client) GetRawCli() *liverpc.Client

Directories

Path Synopsis
Package v1 is a generated liverpc stub package.
Package v1 is a generated liverpc stub package.
Package v2 is a generated liverpc stub package.
Package v2 is a generated liverpc stub package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL