Documentation ¶
Overview ¶
Package grpc is a generated protocol buffer package.
It is generated from these files:
app/interface/bbq/video/api/grpc/bvc.proto
It has these top-level messages:
RequestMsg VideoKeyItem ResponseMsg
Index ¶
- Variables
- func RegisterPlayurlServiceServer(s *grpc1.Server, srv PlayurlServiceServer)
- type PlayurlServiceClient
- type PlayurlServiceServer
- type RequestMsg
- func (*RequestMsg) Descriptor() ([]byte, []int)
- func (m *RequestMsg) Marshal() (dAtA []byte, err error)
- func (m *RequestMsg) MarshalTo(dAtA []byte) (int, error)
- func (*RequestMsg) ProtoMessage()
- func (m *RequestMsg) Reset()
- func (m *RequestMsg) Size() (n int)
- func (this *RequestMsg) String() string
- func (m *RequestMsg) Unmarshal(dAtA []byte) error
- type ResponseMsg
- func (*ResponseMsg) Descriptor() ([]byte, []int)
- func (m *ResponseMsg) Marshal() (dAtA []byte, err error)
- func (m *ResponseMsg) MarshalTo(dAtA []byte) (int, error)
- func (*ResponseMsg) ProtoMessage()
- func (m *ResponseMsg) Reset()
- func (m *ResponseMsg) Size() (n int)
- func (this *ResponseMsg) String() string
- func (m *ResponseMsg) Unmarshal(dAtA []byte) error
- type VideoKeyItem
- func (*VideoKeyItem) Descriptor() ([]byte, []int)
- func (m *VideoKeyItem) Marshal() (dAtA []byte, err error)
- func (m *VideoKeyItem) MarshalTo(dAtA []byte) (int, error)
- func (*VideoKeyItem) ProtoMessage()
- func (m *VideoKeyItem) Reset()
- func (m *VideoKeyItem) Size() (n int)
- func (this *VideoKeyItem) String() string
- func (m *VideoKeyItem) Unmarshal(dAtA []byte) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthBvc = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBvc = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterPlayurlServiceServer ¶
func RegisterPlayurlServiceServer(s *grpc1.Server, srv PlayurlServiceServer)
Types ¶
type PlayurlServiceClient ¶
type PlayurlServiceClient interface {
ProtobufPlayurl(ctx context.Context, in *RequestMsg, opts ...grpc1.CallOption) (*ResponseMsg, error)
}
func NewPlayurlServiceClient ¶
func NewPlayurlServiceClient(cc *grpc1.ClientConn) PlayurlServiceClient
type PlayurlServiceServer ¶
type PlayurlServiceServer interface {
ProtobufPlayurl(context.Context, *RequestMsg) (*ResponseMsg, error)
}
type RequestMsg ¶
type RequestMsg struct { Keys []string `protobuf:"bytes,1,rep,name=keys" json:"keys,omitempty"` Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"` UIP string `protobuf:"bytes,3,opt,name=uip,proto3" json:"uip,omitempty"` Uiplong uint32 `protobuf:"varint,4,opt,name=uiplong,proto3" json:"uiplong,omitempty"` Backup uint32 `protobuf:"varint,5,opt,name=backup,proto3" json:"backup,omitempty"` UUID string `protobuf:"bytes,6,opt,name=uuid,proto3" json:"uuid,omitempty"` }
func (*RequestMsg) Descriptor ¶
func (*RequestMsg) Descriptor() ([]byte, []int)
func (*RequestMsg) Marshal ¶
func (m *RequestMsg) Marshal() (dAtA []byte, err error)
func (*RequestMsg) ProtoMessage ¶
func (*RequestMsg) ProtoMessage()
func (*RequestMsg) Reset ¶
func (m *RequestMsg) Reset()
func (*RequestMsg) Size ¶
func (m *RequestMsg) Size() (n int)
func (*RequestMsg) String ¶
func (this *RequestMsg) String() string
func (*RequestMsg) Unmarshal ¶
func (m *RequestMsg) Unmarshal(dAtA []byte) error
type ResponseMsg ¶
type ResponseMsg struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Data map[string]*VideoKeyItem `` /* 135-byte string literal not displayed */ }
func (*ResponseMsg) Descriptor ¶
func (*ResponseMsg) Descriptor() ([]byte, []int)
func (*ResponseMsg) Marshal ¶
func (m *ResponseMsg) Marshal() (dAtA []byte, err error)
func (*ResponseMsg) ProtoMessage ¶
func (*ResponseMsg) ProtoMessage()
func (*ResponseMsg) Reset ¶
func (m *ResponseMsg) Reset()
func (*ResponseMsg) Size ¶
func (m *ResponseMsg) Size() (n int)
func (*ResponseMsg) String ¶
func (this *ResponseMsg) String() string
func (*ResponseMsg) Unmarshal ¶
func (m *ResponseMsg) Unmarshal(dAtA []byte) error
type VideoKeyItem ¶
type VideoKeyItem struct { Etime uint32 `protobuf:"varint,1,opt,name=etime,proto3" json:"etime,omitempty"` URL []string `protobuf:"bytes,2,rep,name=url" json:"url,omitempty"` }
func (*VideoKeyItem) Descriptor ¶
func (*VideoKeyItem) Descriptor() ([]byte, []int)
func (*VideoKeyItem) Marshal ¶
func (m *VideoKeyItem) Marshal() (dAtA []byte, err error)
func (*VideoKeyItem) ProtoMessage ¶
func (*VideoKeyItem) ProtoMessage()
func (*VideoKeyItem) Reset ¶
func (m *VideoKeyItem) Reset()
func (*VideoKeyItem) Size ¶
func (m *VideoKeyItem) Size() (n int)
func (*VideoKeyItem) String ¶
func (this *VideoKeyItem) String() string
func (*VideoKeyItem) Unmarshal ¶
func (m *VideoKeyItem) Unmarshal(dAtA []byte) error
Click to show internal directories.
Click to hide internal directories.