Documentation ¶
Overview ¶
Package v0 is a generated liverpc stub package. This code was generated with go-common/app/tool/liverpc/protoc-gen-liverpc v0.1.
It is generated from these files:
v0/Conf.proto
Index ¶
- Variables
- type ConfGetReq
- func (*ConfGetReq) Descriptor() ([]byte, []int)
- func (m *ConfGetReq) GetTargetId() int64
- func (m *ConfGetReq) GetType() []int64
- func (m *ConfGetReq) GetUid() int64
- func (m *ConfGetReq) Marshal() (dAtA []byte, err error)
- func (m *ConfGetReq) MarshalTo(dAtA []byte) (int, error)
- func (*ConfGetReq) ProtoMessage()
- func (m *ConfGetReq) Reset()
- func (m *ConfGetReq) Size() (n int)
- func (m *ConfGetReq) String() string
- func (m *ConfGetReq) Unmarshal(dAtA []byte) error
- func (m *ConfGetReq) XXX_DiscardUnknown()
- func (m *ConfGetReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ConfGetReq) XXX_Merge(src proto.Message)
- func (m *ConfGetReq) XXX_Size() int
- func (m *ConfGetReq) XXX_Unmarshal(b []byte) error
- type ConfGetResp
- func (*ConfGetResp) Descriptor() ([]byte, []int)
- func (m *ConfGetResp) GetCode() int64
- func (m *ConfGetResp) GetData() map[string]string
- func (m *ConfGetResp) GetMsg() string
- func (m *ConfGetResp) Marshal() (dAtA []byte, err error)
- func (m *ConfGetResp) MarshalTo(dAtA []byte) (int, error)
- func (*ConfGetResp) ProtoMessage()
- func (m *ConfGetResp) Reset()
- func (m *ConfGetResp) Size() (n int)
- func (m *ConfGetResp) String() string
- func (m *ConfGetResp) Unmarshal(dAtA []byte) error
- func (m *ConfGetResp) XXX_DiscardUnknown()
- func (m *ConfGetResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ConfGetResp) XXX_Merge(src proto.Message)
- func (m *ConfGetResp) XXX_Size() int
- func (m *ConfGetResp) XXX_Unmarshal(b []byte) error
- type ConfRPCClient
- type ConfSetReq
- func (*ConfSetReq) Descriptor() ([]byte, []int)
- func (m *ConfSetReq) GetVarList() []*ConfSetReq_Var
- func (m *ConfSetReq) Marshal() (dAtA []byte, err error)
- func (m *ConfSetReq) MarshalTo(dAtA []byte) (int, error)
- func (*ConfSetReq) ProtoMessage()
- func (m *ConfSetReq) Reset()
- func (m *ConfSetReq) Size() (n int)
- func (m *ConfSetReq) String() string
- func (m *ConfSetReq) Unmarshal(dAtA []byte) error
- func (m *ConfSetReq) XXX_DiscardUnknown()
- func (m *ConfSetReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ConfSetReq) XXX_Merge(src proto.Message)
- func (m *ConfSetReq) XXX_Size() int
- func (m *ConfSetReq) XXX_Unmarshal(b []byte) error
- type ConfSetReq_Var
- func (*ConfSetReq_Var) Descriptor() ([]byte, []int)
- func (m *ConfSetReq_Var) GetContent() string
- func (m *ConfSetReq_Var) GetTargetId() int64
- func (m *ConfSetReq_Var) GetType() int64
- func (m *ConfSetReq_Var) GetUid() int64
- func (m *ConfSetReq_Var) Marshal() (dAtA []byte, err error)
- func (m *ConfSetReq_Var) MarshalTo(dAtA []byte) (int, error)
- func (*ConfSetReq_Var) ProtoMessage()
- func (m *ConfSetReq_Var) Reset()
- func (m *ConfSetReq_Var) Size() (n int)
- func (m *ConfSetReq_Var) String() string
- func (m *ConfSetReq_Var) Unmarshal(dAtA []byte) error
- func (m *ConfSetReq_Var) XXX_DiscardUnknown()
- func (m *ConfSetReq_Var) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ConfSetReq_Var) XXX_Merge(src proto.Message)
- func (m *ConfSetReq_Var) XXX_Size() int
- func (m *ConfSetReq_Var) XXX_Unmarshal(b []byte) error
- type ConfSetResp
- func (*ConfSetResp) Descriptor() ([]byte, []int)
- func (m *ConfSetResp) GetCode() int64
- func (m *ConfSetResp) GetData() *ConfSetResp_Data
- func (m *ConfSetResp) GetMsg() string
- func (m *ConfSetResp) Marshal() (dAtA []byte, err error)
- func (m *ConfSetResp) MarshalTo(dAtA []byte) (int, error)
- func (*ConfSetResp) ProtoMessage()
- func (m *ConfSetResp) Reset()
- func (m *ConfSetResp) Size() (n int)
- func (m *ConfSetResp) String() string
- func (m *ConfSetResp) Unmarshal(dAtA []byte) error
- func (m *ConfSetResp) XXX_DiscardUnknown()
- func (m *ConfSetResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ConfSetResp) XXX_Merge(src proto.Message)
- func (m *ConfSetResp) XXX_Size() int
- func (m *ConfSetResp) XXX_Unmarshal(b []byte) error
- type ConfSetResp_Data
- func (*ConfSetResp_Data) Descriptor() ([]byte, []int)
- func (m *ConfSetResp_Data) Marshal() (dAtA []byte, err error)
- func (m *ConfSetResp_Data) MarshalTo(dAtA []byte) (int, error)
- func (*ConfSetResp_Data) ProtoMessage()
- func (m *ConfSetResp_Data) Reset()
- func (m *ConfSetResp_Data) Size() (n int)
- func (m *ConfSetResp_Data) String() string
- func (m *ConfSetResp_Data) Unmarshal(dAtA []byte) error
- func (m *ConfSetResp_Data) XXX_DiscardUnknown()
- func (m *ConfSetResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *ConfSetResp_Data) XXX_Merge(src proto.Message)
- func (m *ConfSetResp_Data) XXX_Size() int
- func (m *ConfSetResp_Data) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthConf = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowConf = fmt.Errorf("proto: integer overflow") )
Functions ¶
This section is empty.
Types ¶
type ConfGetReq ¶
type ConfGetReq struct { // 用户id Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"` // 目标id,主播uid、房间号etc TargetId int64 `protobuf:"varint,2,opt,name=target_id,json=targetId,proto3" json:"target_id"` // type请在 “配置仓库标识申请” 中自行分配 Type []int64 `protobuf:"varint,3,rep,packed,name=type" json:"type"` }
func (*ConfGetReq) Descriptor ¶
func (*ConfGetReq) Descriptor() ([]byte, []int)
func (*ConfGetReq) GetTargetId ¶
func (m *ConfGetReq) GetTargetId() int64
func (*ConfGetReq) GetType ¶
func (m *ConfGetReq) GetType() []int64
func (*ConfGetReq) GetUid ¶
func (m *ConfGetReq) GetUid() int64
func (*ConfGetReq) Marshal ¶
func (m *ConfGetReq) Marshal() (dAtA []byte, err error)
func (*ConfGetReq) ProtoMessage ¶
func (*ConfGetReq) ProtoMessage()
func (*ConfGetReq) Reset ¶
func (m *ConfGetReq) Reset()
func (*ConfGetReq) Size ¶
func (m *ConfGetReq) Size() (n int)
func (*ConfGetReq) String ¶
func (m *ConfGetReq) String() string
func (*ConfGetReq) Unmarshal ¶
func (m *ConfGetReq) Unmarshal(dAtA []byte) error
func (*ConfGetReq) XXX_DiscardUnknown ¶
func (m *ConfGetReq) XXX_DiscardUnknown()
func (*ConfGetReq) XXX_Marshal ¶
func (m *ConfGetReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfGetReq) XXX_Merge ¶
func (dst *ConfGetReq) XXX_Merge(src proto.Message)
func (*ConfGetReq) XXX_Size ¶
func (m *ConfGetReq) XXX_Size() int
func (*ConfGetReq) XXX_Unmarshal ¶
func (m *ConfGetReq) XXX_Unmarshal(b []byte) error
type ConfGetResp ¶
type ConfGetResp struct { // code Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"` // msg Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"` // type -> content Data map[string]string `` /* 132-byte string literal not displayed */ }
func (*ConfGetResp) Descriptor ¶
func (*ConfGetResp) Descriptor() ([]byte, []int)
func (*ConfGetResp) GetCode ¶
func (m *ConfGetResp) GetCode() int64
func (*ConfGetResp) GetData ¶
func (m *ConfGetResp) GetData() map[string]string
func (*ConfGetResp) GetMsg ¶
func (m *ConfGetResp) GetMsg() string
func (*ConfGetResp) Marshal ¶
func (m *ConfGetResp) Marshal() (dAtA []byte, err error)
func (*ConfGetResp) ProtoMessage ¶
func (*ConfGetResp) ProtoMessage()
func (*ConfGetResp) Reset ¶
func (m *ConfGetResp) Reset()
func (*ConfGetResp) Size ¶
func (m *ConfGetResp) Size() (n int)
func (*ConfGetResp) String ¶
func (m *ConfGetResp) String() string
func (*ConfGetResp) Unmarshal ¶
func (m *ConfGetResp) Unmarshal(dAtA []byte) error
func (*ConfGetResp) XXX_DiscardUnknown ¶
func (m *ConfGetResp) XXX_DiscardUnknown()
func (*ConfGetResp) XXX_Marshal ¶
func (m *ConfGetResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfGetResp) XXX_Merge ¶
func (dst *ConfGetResp) XXX_Merge(src proto.Message)
func (*ConfGetResp) XXX_Size ¶
func (m *ConfGetResp) XXX_Size() int
func (*ConfGetResp) XXX_Unmarshal ¶
func (m *ConfGetResp) XXX_Unmarshal(b []byte) error
type ConfRPCClient ¶
type ConfRPCClient interface { // * 设置配置仓库 // Set(ctx context.Context, req *ConfSetReq, opts ...liverpc.CallOption) (resp *ConfSetResp, err error) // * 查看用户配置 // Get(ctx context.Context, req *ConfGetReq, opts ...liverpc.CallOption) (resp *ConfGetResp, err error) }
func NewConfRPCClient ¶
func NewConfRPCClient(client *liverpc.Client) ConfRPCClient
NewConfRPCClient creates a client that implements the ConfRPCClient interface.
type ConfSetReq ¶
type ConfSetReq struct { // 参数结构 VarList []*ConfSetReq_Var `protobuf:"bytes,1,rep,name=var_list,json=varList" json:"var_list"` }
func (*ConfSetReq) Descriptor ¶
func (*ConfSetReq) Descriptor() ([]byte, []int)
func (*ConfSetReq) GetVarList ¶
func (m *ConfSetReq) GetVarList() []*ConfSetReq_Var
func (*ConfSetReq) Marshal ¶
func (m *ConfSetReq) Marshal() (dAtA []byte, err error)
func (*ConfSetReq) ProtoMessage ¶
func (*ConfSetReq) ProtoMessage()
func (*ConfSetReq) Reset ¶
func (m *ConfSetReq) Reset()
func (*ConfSetReq) Size ¶
func (m *ConfSetReq) Size() (n int)
func (*ConfSetReq) String ¶
func (m *ConfSetReq) String() string
func (*ConfSetReq) Unmarshal ¶
func (m *ConfSetReq) Unmarshal(dAtA []byte) error
func (*ConfSetReq) XXX_DiscardUnknown ¶
func (m *ConfSetReq) XXX_DiscardUnknown()
func (*ConfSetReq) XXX_Marshal ¶
func (m *ConfSetReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfSetReq) XXX_Merge ¶
func (dst *ConfSetReq) XXX_Merge(src proto.Message)
func (*ConfSetReq) XXX_Size ¶
func (m *ConfSetReq) XXX_Size() int
func (*ConfSetReq) XXX_Unmarshal ¶
func (m *ConfSetReq) XXX_Unmarshal(b []byte) error
type ConfSetReq_Var ¶
type ConfSetReq_Var struct { // 用户id Uid int64 `protobuf:"varint,1,opt,name=uid,proto3" json:"uid"` // 目标id,主播uid、房间号etc TargetId int64 `protobuf:"varint,2,opt,name=target_id,json=targetId,proto3" json:"target_id"` // type请在 “配置仓库标识申请” 中自行分配 Type int64 `protobuf:"varint,3,opt,name=type,proto3" json:"type"` // 设置内容 Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content"` }
func (*ConfSetReq_Var) Descriptor ¶
func (*ConfSetReq_Var) Descriptor() ([]byte, []int)
func (*ConfSetReq_Var) GetContent ¶
func (m *ConfSetReq_Var) GetContent() string
func (*ConfSetReq_Var) GetTargetId ¶
func (m *ConfSetReq_Var) GetTargetId() int64
func (*ConfSetReq_Var) GetType ¶
func (m *ConfSetReq_Var) GetType() int64
func (*ConfSetReq_Var) GetUid ¶
func (m *ConfSetReq_Var) GetUid() int64
func (*ConfSetReq_Var) Marshal ¶
func (m *ConfSetReq_Var) Marshal() (dAtA []byte, err error)
func (*ConfSetReq_Var) ProtoMessage ¶
func (*ConfSetReq_Var) ProtoMessage()
func (*ConfSetReq_Var) Reset ¶
func (m *ConfSetReq_Var) Reset()
func (*ConfSetReq_Var) Size ¶
func (m *ConfSetReq_Var) Size() (n int)
func (*ConfSetReq_Var) String ¶
func (m *ConfSetReq_Var) String() string
func (*ConfSetReq_Var) Unmarshal ¶
func (m *ConfSetReq_Var) Unmarshal(dAtA []byte) error
func (*ConfSetReq_Var) XXX_DiscardUnknown ¶
func (m *ConfSetReq_Var) XXX_DiscardUnknown()
func (*ConfSetReq_Var) XXX_Marshal ¶
func (m *ConfSetReq_Var) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfSetReq_Var) XXX_Merge ¶
func (dst *ConfSetReq_Var) XXX_Merge(src proto.Message)
func (*ConfSetReq_Var) XXX_Size ¶
func (m *ConfSetReq_Var) XXX_Size() int
func (*ConfSetReq_Var) XXX_Unmarshal ¶
func (m *ConfSetReq_Var) XXX_Unmarshal(b []byte) error
type ConfSetResp ¶
type ConfSetResp struct { // code Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code"` // msg Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg"` // Data *ConfSetResp_Data `protobuf:"bytes,3,opt,name=data" json:"data"` }
func (*ConfSetResp) Descriptor ¶
func (*ConfSetResp) Descriptor() ([]byte, []int)
func (*ConfSetResp) GetCode ¶
func (m *ConfSetResp) GetCode() int64
func (*ConfSetResp) GetData ¶
func (m *ConfSetResp) GetData() *ConfSetResp_Data
func (*ConfSetResp) GetMsg ¶
func (m *ConfSetResp) GetMsg() string
func (*ConfSetResp) Marshal ¶
func (m *ConfSetResp) Marshal() (dAtA []byte, err error)
func (*ConfSetResp) ProtoMessage ¶
func (*ConfSetResp) ProtoMessage()
func (*ConfSetResp) Reset ¶
func (m *ConfSetResp) Reset()
func (*ConfSetResp) Size ¶
func (m *ConfSetResp) Size() (n int)
func (*ConfSetResp) String ¶
func (m *ConfSetResp) String() string
func (*ConfSetResp) Unmarshal ¶
func (m *ConfSetResp) Unmarshal(dAtA []byte) error
func (*ConfSetResp) XXX_DiscardUnknown ¶
func (m *ConfSetResp) XXX_DiscardUnknown()
func (*ConfSetResp) XXX_Marshal ¶
func (m *ConfSetResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfSetResp) XXX_Merge ¶
func (dst *ConfSetResp) XXX_Merge(src proto.Message)
func (*ConfSetResp) XXX_Size ¶
func (m *ConfSetResp) XXX_Size() int
func (*ConfSetResp) XXX_Unmarshal ¶
func (m *ConfSetResp) XXX_Unmarshal(b []byte) error
type ConfSetResp_Data ¶
type ConfSetResp_Data struct { }
func (*ConfSetResp_Data) Descriptor ¶
func (*ConfSetResp_Data) Descriptor() ([]byte, []int)
func (*ConfSetResp_Data) Marshal ¶
func (m *ConfSetResp_Data) Marshal() (dAtA []byte, err error)
func (*ConfSetResp_Data) ProtoMessage ¶
func (*ConfSetResp_Data) ProtoMessage()
func (*ConfSetResp_Data) Reset ¶
func (m *ConfSetResp_Data) Reset()
func (*ConfSetResp_Data) Size ¶
func (m *ConfSetResp_Data) Size() (n int)
func (*ConfSetResp_Data) String ¶
func (m *ConfSetResp_Data) String() string
func (*ConfSetResp_Data) Unmarshal ¶
func (m *ConfSetResp_Data) Unmarshal(dAtA []byte) error
func (*ConfSetResp_Data) XXX_DiscardUnknown ¶
func (m *ConfSetResp_Data) XXX_DiscardUnknown()
func (*ConfSetResp_Data) XXX_Marshal ¶
func (m *ConfSetResp_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConfSetResp_Data) XXX_Merge ¶
func (dst *ConfSetResp_Data) XXX_Merge(src proto.Message)
func (*ConfSetResp_Data) XXX_Size ¶
func (m *ConfSetResp_Data) XXX_Size() int
func (*ConfSetResp_Data) XXX_Unmarshal ¶
func (m *ConfSetResp_Data) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.