Documentation ¶
Index ¶
- Variables
- type Empty
- type Error
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetData() []byte
- func (x *Message) GetFrom() string
- func (x *Message) GetTo() string
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type Node
- func (*Node) Descriptor() ([]byte, []int)deprecated
- func (x *Node) GetDc() string
- func (x *Node) GetNid() string
- func (x *Node) GetRpc() *RPC
- func (x *Node) GetService() string
- func (*Node) ProtoMessage()
- func (x *Node) ProtoReflect() protoreflect.Message
- func (x *Node) Reset()
- func (x *Node) String() string
- type Peer
- type PeerEvent
- type PeerEvent_State
- func (PeerEvent_State) Descriptor() protoreflect.EnumDescriptor
- func (x PeerEvent_State) Enum() *PeerEvent_State
- func (PeerEvent_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x PeerEvent_State) Number() protoreflect.EnumNumber
- func (x PeerEvent_State) String() string
- func (PeerEvent_State) Type() protoreflect.EnumType
- type RPC
- type SessionEvent
- func (*SessionEvent) Descriptor() ([]byte, []int)deprecated
- func (x *SessionEvent) GetNid() string
- func (x *SessionEvent) GetSid() string
- func (x *SessionEvent) GetState() SessionEvent_State
- func (*SessionEvent) ProtoMessage()
- func (x *SessionEvent) ProtoReflect() protoreflect.Message
- func (x *SessionEvent) Reset()
- func (x *SessionEvent) String() string
- type SessionEvent_State
- func (SessionEvent_State) Descriptor() protoreflect.EnumDescriptor
- func (x SessionEvent_State) Enum() *SessionEvent_State
- func (SessionEvent_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x SessionEvent_State) Number() protoreflect.EnumNumber
- func (x SessionEvent_State) String() string
- func (SessionEvent_State) Type() protoreflect.EnumType
- type Stream
- type StreamEvent
- func (*StreamEvent) Descriptor() ([]byte, []int)deprecated
- func (x *StreamEvent) GetNid() string
- func (x *StreamEvent) GetSid() string
- func (x *StreamEvent) GetState() StreamEvent_State
- func (x *StreamEvent) GetStreams() []*Stream
- func (x *StreamEvent) GetUid() string
- func (*StreamEvent) ProtoMessage()
- func (x *StreamEvent) ProtoReflect() protoreflect.Message
- func (x *StreamEvent) Reset()
- func (x *StreamEvent) String() string
- type StreamEvent_State
- func (StreamEvent_State) Descriptor() protoreflect.EnumDescriptor
- func (x StreamEvent_State) Enum() *StreamEvent_State
- func (StreamEvent_State) EnumDescriptor() ([]byte, []int)deprecated
- func (x StreamEvent_State) Number() protoreflect.EnumNumber
- func (x StreamEvent_State) String() string
- func (StreamEvent_State) Type() protoreflect.EnumType
- type Track
- func (*Track) Descriptor() ([]byte, []int)deprecated
- func (x *Track) GetId() string
- func (x *Track) GetKind() string
- func (x *Track) GetLabel() string
- func (x *Track) GetSimulcast() map[string]string
- func (*Track) ProtoMessage()
- func (x *Track) ProtoReflect() protoreflect.Message
- func (x *Track) Reset()
- func (x *Track) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var ( SessionEvent_State_name = map[int32]string{ 0: "ADD", 1: "REMOVE", } SessionEvent_State_value = map[string]int32{ "ADD": 0, "REMOVE": 1, } )
Enum value maps for SessionEvent_State.
View Source
var ( StreamEvent_State_name = map[int32]string{ 0: "ADD", 1: "REMOVE", } StreamEvent_State_value = map[string]int32{ "ADD": 0, "REMOVE": 1, } )
Enum value maps for StreamEvent_State.
View Source
var ( PeerEvent_State_name = map[int32]string{ 0: "JOIN", 1: "UPDATE", 2: "LEAVE", } PeerEvent_State_value = map[string]int32{ "JOIN": 0, "UPDATE": 1, "LEAVE": 2, } )
Enum value maps for PeerEvent_State.
View Source
var File_protos_ion_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
func (*Empty) Descriptor
deprecated
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type Error ¶
type Error struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Reason string `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"` // contains filtered or unexported fields }
func (*Error) Descriptor
deprecated
func (*Error) ProtoMessage ¶
func (*Error) ProtoMessage()
func (*Error) ProtoReflect ¶
func (x *Error) ProtoReflect() protoreflect.Message
type Message ¶
type Message struct { From string `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"` To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type Node ¶
type Node struct { Dc string `protobuf:"bytes,1,opt,name=dc,proto3" json:"dc,omitempty"` Nid string `protobuf:"bytes,2,opt,name=nid,proto3" json:"nid,omitempty"` Service string `protobuf:"bytes,3,opt,name=service,proto3" json:"service,omitempty"` Rpc *RPC `protobuf:"bytes,4,opt,name=rpc,proto3" json:"rpc,omitempty"` // contains filtered or unexported fields }
func (*Node) Descriptor
deprecated
func (*Node) GetService ¶
func (*Node) ProtoMessage ¶
func (*Node) ProtoMessage()
func (*Node) ProtoReflect ¶
func (x *Node) ProtoReflect() protoreflect.Message
type Peer ¶
type Peer struct { Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` Uid string `protobuf:"bytes,2,opt,name=uid,proto3" json:"uid,omitempty"` Info []byte `protobuf:"bytes,3,opt,name=info,proto3" json:"info,omitempty"` // contains filtered or unexported fields }
func (*Peer) Descriptor
deprecated
func (*Peer) ProtoMessage ¶
func (*Peer) ProtoMessage()
func (*Peer) ProtoReflect ¶
func (x *Peer) ProtoReflect() protoreflect.Message
type PeerEvent ¶
type PeerEvent struct { State PeerEvent_State `protobuf:"varint,3,opt,name=state,proto3,enum=ion.PeerEvent_State" json:"state,omitempty"` Peer *Peer `protobuf:"bytes,4,opt,name=peer,proto3" json:"peer,omitempty"` // contains filtered or unexported fields }
func (*PeerEvent) Descriptor
deprecated
func (*PeerEvent) GetState ¶
func (x *PeerEvent) GetState() PeerEvent_State
func (*PeerEvent) ProtoMessage ¶
func (*PeerEvent) ProtoMessage()
func (*PeerEvent) ProtoReflect ¶
func (x *PeerEvent) ProtoReflect() protoreflect.Message
type PeerEvent_State ¶
type PeerEvent_State int32
const ( PeerEvent_JOIN PeerEvent_State = 0 PeerEvent_UPDATE PeerEvent_State = 1 PeerEvent_LEAVE PeerEvent_State = 2 )
func (PeerEvent_State) Descriptor ¶
func (PeerEvent_State) Descriptor() protoreflect.EnumDescriptor
func (PeerEvent_State) Enum ¶
func (x PeerEvent_State) Enum() *PeerEvent_State
func (PeerEvent_State) EnumDescriptor
deprecated
func (PeerEvent_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use PeerEvent_State.Descriptor instead.
func (PeerEvent_State) Number ¶
func (x PeerEvent_State) Number() protoreflect.EnumNumber
func (PeerEvent_State) String ¶
func (x PeerEvent_State) String() string
func (PeerEvent_State) Type ¶
func (PeerEvent_State) Type() protoreflect.EnumType
type RPC ¶
type RPC struct { Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Params map[string]string `` /* 153-byte string literal not displayed */ // contains filtered or unexported fields }
func (*RPC) Descriptor
deprecated
func (*RPC) GetProtocol ¶
func (*RPC) ProtoMessage ¶
func (*RPC) ProtoMessage()
func (*RPC) ProtoReflect ¶
func (x *RPC) ProtoReflect() protoreflect.Message
type SessionEvent ¶
type SessionEvent struct { State SessionEvent_State `protobuf:"varint,2,opt,name=state,proto3,enum=ion.SessionEvent_State" json:"state,omitempty"` Nid string `protobuf:"bytes,3,opt,name=nid,proto3" json:"nid,omitempty"` Sid string `protobuf:"bytes,4,opt,name=sid,proto3" json:"sid,omitempty"` // contains filtered or unexported fields }
func (*SessionEvent) Descriptor
deprecated
func (*SessionEvent) Descriptor() ([]byte, []int)
Deprecated: Use SessionEvent.ProtoReflect.Descriptor instead.
func (*SessionEvent) GetNid ¶
func (x *SessionEvent) GetNid() string
func (*SessionEvent) GetSid ¶
func (x *SessionEvent) GetSid() string
func (*SessionEvent) GetState ¶
func (x *SessionEvent) GetState() SessionEvent_State
func (*SessionEvent) ProtoMessage ¶
func (*SessionEvent) ProtoMessage()
func (*SessionEvent) ProtoReflect ¶
func (x *SessionEvent) ProtoReflect() protoreflect.Message
func (*SessionEvent) Reset ¶
func (x *SessionEvent) Reset()
func (*SessionEvent) String ¶
func (x *SessionEvent) String() string
type SessionEvent_State ¶
type SessionEvent_State int32
const ( SessionEvent_ADD SessionEvent_State = 0 SessionEvent_REMOVE SessionEvent_State = 1 )
func (SessionEvent_State) Descriptor ¶
func (SessionEvent_State) Descriptor() protoreflect.EnumDescriptor
func (SessionEvent_State) Enum ¶
func (x SessionEvent_State) Enum() *SessionEvent_State
func (SessionEvent_State) EnumDescriptor
deprecated
func (SessionEvent_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use SessionEvent_State.Descriptor instead.
func (SessionEvent_State) Number ¶
func (x SessionEvent_State) Number() protoreflect.EnumNumber
func (SessionEvent_State) String ¶
func (x SessionEvent_State) String() string
func (SessionEvent_State) Type ¶
func (SessionEvent_State) Type() protoreflect.EnumType
type Stream ¶
type Stream struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Tracks []*Track `protobuf:"bytes,2,rep,name=tracks,proto3" json:"tracks,omitempty"` // contains filtered or unexported fields }
func (*Stream) Descriptor
deprecated
func (*Stream) ProtoMessage ¶
func (*Stream) ProtoMessage()
func (*Stream) ProtoReflect ¶
func (x *Stream) ProtoReflect() protoreflect.Message
type StreamEvent ¶
type StreamEvent struct { State StreamEvent_State `protobuf:"varint,2,opt,name=state,proto3,enum=ion.StreamEvent_State" json:"state,omitempty"` Nid string `protobuf:"bytes,3,opt,name=nid,proto3" json:"nid,omitempty"` Sid string `protobuf:"bytes,4,opt,name=sid,proto3" json:"sid,omitempty"` Uid string `protobuf:"bytes,5,opt,name=uid,proto3" json:"uid,omitempty"` Streams []*Stream `protobuf:"bytes,6,rep,name=streams,proto3" json:"streams,omitempty"` // contains filtered or unexported fields }
func (*StreamEvent) Descriptor
deprecated
func (*StreamEvent) Descriptor() ([]byte, []int)
Deprecated: Use StreamEvent.ProtoReflect.Descriptor instead.
func (*StreamEvent) GetNid ¶
func (x *StreamEvent) GetNid() string
func (*StreamEvent) GetSid ¶
func (x *StreamEvent) GetSid() string
func (*StreamEvent) GetState ¶
func (x *StreamEvent) GetState() StreamEvent_State
func (*StreamEvent) GetStreams ¶
func (x *StreamEvent) GetStreams() []*Stream
func (*StreamEvent) GetUid ¶
func (x *StreamEvent) GetUid() string
func (*StreamEvent) ProtoMessage ¶
func (*StreamEvent) ProtoMessage()
func (*StreamEvent) ProtoReflect ¶
func (x *StreamEvent) ProtoReflect() protoreflect.Message
func (*StreamEvent) Reset ¶
func (x *StreamEvent) Reset()
func (*StreamEvent) String ¶
func (x *StreamEvent) String() string
type StreamEvent_State ¶
type StreamEvent_State int32
const ( StreamEvent_ADD StreamEvent_State = 0 StreamEvent_REMOVE StreamEvent_State = 1 )
func (StreamEvent_State) Descriptor ¶
func (StreamEvent_State) Descriptor() protoreflect.EnumDescriptor
func (StreamEvent_State) Enum ¶
func (x StreamEvent_State) Enum() *StreamEvent_State
func (StreamEvent_State) EnumDescriptor
deprecated
func (StreamEvent_State) EnumDescriptor() ([]byte, []int)
Deprecated: Use StreamEvent_State.Descriptor instead.
func (StreamEvent_State) Number ¶
func (x StreamEvent_State) Number() protoreflect.EnumNumber
func (StreamEvent_State) String ¶
func (x StreamEvent_State) String() string
func (StreamEvent_State) Type ¶
func (StreamEvent_State) Type() protoreflect.EnumType
type Track ¶
type Track struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Label string `protobuf:"bytes,2,opt,name=label,proto3" json:"label,omitempty"` Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` Simulcast map[string]string `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Track) Descriptor
deprecated
func (*Track) GetSimulcast ¶
func (*Track) ProtoMessage ¶
func (*Track) ProtoMessage()
func (*Track) ProtoReflect ¶
func (x *Track) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.