Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAudioServiceServer(s grpc.ServiceRegistrar, srv AudioServiceServer)
- func RegisterRIDServiceServer(s grpc.ServiceRegistrar, srv RIDServiceServer)
- func RegisterSystemServiceServer(s grpc.ServiceRegistrar, srv SystemServiceServer)
- func RegisterTalkgroupServiceServer(s grpc.ServiceRegistrar, srv TalkgroupServiceServer)
- type ActiveCall
- func (*ActiveCall) Descriptor() ([]byte, []int)deprecated
- func (x *ActiveCall) GetDeviceSerial() string
- func (x *ActiveCall) GetGrant() *Grant
- func (x *ActiveCall) GetLastHeardAt() string
- func (x *ActiveCall) GetStartedAt() string
- func (x *ActiveCall) GetTalkgroup() *TalkGroup
- func (*ActiveCall) ProtoMessage()
- func (x *ActiveCall) ProtoReflect() protoreflect.Message
- func (x *ActiveCall) Reset()
- func (x *ActiveCall) String() string
- type AudioFrame
- func (*AudioFrame) Descriptor() ([]byte, []int)deprecated
- func (x *AudioFrame) GetBody() isAudioFrame_Body
- func (x *AudioFrame) GetDeviceSerial() string
- func (x *AudioFrame) GetGrant() *Grant
- func (x *AudioFrame) GetPcm() *PCMSamples
- func (x *AudioFrame) GetRaw() *RawVocoderFrame
- func (x *AudioFrame) GetTimestamp() string
- func (*AudioFrame) ProtoMessage()
- func (x *AudioFrame) ProtoReflect() protoreflect.Message
- func (x *AudioFrame) Reset()
- func (x *AudioFrame) String() string
- type AudioFrame_Pcm
- type AudioFrame_Raw
- type AudioServiceClient
- type AudioServiceServer
- type AudioService_StreamAudioClient
- type AudioService_StreamAudioServer
- type CCLocked
- type CCLost
- type CallEnd
- func (*CallEnd) Descriptor() ([]byte, []int)deprecated
- func (x *CallEnd) GetDeviceSerial() string
- func (x *CallEnd) GetEndedAt() string
- func (x *CallEnd) GetGrant() *Grant
- func (x *CallEnd) GetReason() string
- func (x *CallEnd) GetStartedAt() string
- func (x *CallEnd) GetTalkgroup() *TalkGroup
- func (*CallEnd) ProtoMessage()
- func (x *CallEnd) ProtoReflect() protoreflect.Message
- func (x *CallEnd) Reset()
- func (x *CallEnd) String() string
- type CallStart
- func (*CallStart) Descriptor() ([]byte, []int)deprecated
- func (x *CallStart) GetDeviceSerial() string
- func (x *CallStart) GetGrant() *Grant
- func (x *CallStart) GetTalkgroup() *TalkGroup
- func (*CallStart) ProtoMessage()
- func (x *CallStart) ProtoReflect() protoreflect.Message
- func (x *CallStart) Reset()
- func (x *CallStart) String() string
- type ErrorEvent
- type Event
- func (*Event) Descriptor() ([]byte, []int)deprecated
- func (x *Event) GetCallEnd() *CallEnd
- func (x *Event) GetCallStart() *CallStart
- func (x *Event) GetCcLocked() *CCLocked
- func (x *Event) GetCcLost() *CCLost
- func (x *Event) GetError() *ErrorEvent
- func (x *Event) GetGrant() *Grant
- func (x *Event) GetKind() string
- func (x *Event) GetPayload() isEvent_Payload
- func (x *Event) GetSdrStatus() *SDRStatus
- func (x *Event) GetTimestamp() string
- func (*Event) ProtoMessage()
- func (x *Event) ProtoReflect() protoreflect.Message
- func (x *Event) Reset()
- func (x *Event) String() string
- type Event_CallEnd
- type Event_CallStart
- type Event_CcLocked
- type Event_CcLost
- type Event_Error
- type Event_Grant
- type Event_SdrStatus
- type GetRIDRequest
- type GetRIDResponse
- type GetSystemRequest
- type GetSystemResponse
- type GetTalkgroupRequest
- func (*GetTalkgroupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTalkgroupRequest) GetId() uint32
- func (*GetTalkgroupRequest) ProtoMessage()
- func (x *GetTalkgroupRequest) ProtoReflect() protoreflect.Message
- func (x *GetTalkgroupRequest) Reset()
- func (x *GetTalkgroupRequest) String() string
- type GetTalkgroupResponse
- func (*GetTalkgroupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTalkgroupResponse) GetTalkgroup() *TalkGroup
- func (*GetTalkgroupResponse) ProtoMessage()
- func (x *GetTalkgroupResponse) ProtoReflect() protoreflect.Message
- func (x *GetTalkgroupResponse) Reset()
- func (x *GetTalkgroupResponse) String() string
- type Grant
- func (*Grant) Descriptor() ([]byte, []int)deprecated
- func (x *Grant) GetAlgorithmId() uint32
- func (x *Grant) GetChannelId() uint32
- func (x *Grant) GetChannelNumber() uint32
- func (x *Grant) GetDataCall() bool
- func (x *Grant) GetEmergency() bool
- func (x *Grant) GetEncrypted() bool
- func (x *Grant) GetFrequencyHz() uint32
- func (x *Grant) GetGroupId() uint32
- func (x *Grant) GetKeyId() uint32
- func (x *Grant) GetProtocol() string
- func (x *Grant) GetSourceId() uint32
- func (x *Grant) GetSystem() string
- func (x *Grant) GetTimeslot() uint32
- func (*Grant) ProtoMessage()
- func (x *Grant) ProtoReflect() protoreflect.Message
- func (x *Grant) Reset()
- func (x *Grant) String() string
- type ListActiveCallsRequest
- type ListActiveCallsResponse
- func (*ListActiveCallsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListActiveCallsResponse) GetCalls() []*ActiveCall
- func (*ListActiveCallsResponse) ProtoMessage()
- func (x *ListActiveCallsResponse) ProtoReflect() protoreflect.Message
- func (x *ListActiveCallsResponse) Reset()
- func (x *ListActiveCallsResponse) String() string
- type ListRIDHistoryRequest
- func (*ListRIDHistoryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListRIDHistoryRequest) GetId() uint32
- func (x *ListRIDHistoryRequest) GetLimit() uint32
- func (x *ListRIDHistoryRequest) GetSystem() string
- func (*ListRIDHistoryRequest) ProtoMessage()
- func (x *ListRIDHistoryRequest) ProtoReflect() protoreflect.Message
- func (x *ListRIDHistoryRequest) Reset()
- func (x *ListRIDHistoryRequest) String() string
- type ListRIDHistoryResponse
- func (*ListRIDHistoryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListRIDHistoryResponse) GetCalls() []*RIDCallRow
- func (*ListRIDHistoryResponse) ProtoMessage()
- func (x *ListRIDHistoryResponse) ProtoReflect() protoreflect.Message
- func (x *ListRIDHistoryResponse) Reset()
- func (x *ListRIDHistoryResponse) String() string
- type ListRIDsRequest
- type ListRIDsResponse
- type ListSystemsRequest
- type ListSystemsResponse
- func (*ListSystemsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSystemsResponse) GetSystems() []*System
- func (*ListSystemsResponse) ProtoMessage()
- func (x *ListSystemsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSystemsResponse) Reset()
- func (x *ListSystemsResponse) String() string
- type ListTalkgroupsRequest
- func (*ListTalkgroupsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListTalkgroupsRequest) GetSystem() string
- func (*ListTalkgroupsRequest) ProtoMessage()
- func (x *ListTalkgroupsRequest) ProtoReflect() protoreflect.Message
- func (x *ListTalkgroupsRequest) Reset()
- func (x *ListTalkgroupsRequest) String() string
- type ListTalkgroupsResponse
- func (*ListTalkgroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListTalkgroupsResponse) GetTalkgroups() []*TalkGroup
- func (*ListTalkgroupsResponse) ProtoMessage()
- func (x *ListTalkgroupsResponse) ProtoReflect() protoreflect.Message
- func (x *ListTalkgroupsResponse) Reset()
- func (x *ListTalkgroupsResponse) String() string
- type PCMSamples
- type RID
- func (*RID) Descriptor() ([]byte, []int)deprecated
- func (x *RID) GetAlias() string
- func (x *RID) GetCallCount() uint64
- func (x *RID) GetConfigured() bool
- func (x *RID) GetDescription() string
- func (x *RID) GetFirstSeen() string
- func (x *RID) GetGroup() string
- func (x *RID) GetIcon() string
- func (x *RID) GetId() uint32
- func (x *RID) GetLastSeen() string
- func (x *RID) GetLastTalkgroup() uint32
- func (x *RID) GetLockout() bool
- func (x *RID) GetOwner() string
- func (x *RID) GetPriority() uint32
- func (x *RID) GetProtocol() string
- func (x *RID) GetSystem() string
- func (x *RID) GetTag() string
- func (x *RID) GetTalkerAlias() string
- func (x *RID) GetTalkerAliasAt() string
- func (x *RID) GetTalkerAliasUnreliable() bool
- func (x *RID) GetWatch() bool
- func (*RID) ProtoMessage()
- func (x *RID) ProtoReflect() protoreflect.Message
- func (x *RID) Reset()
- func (x *RID) String() string
- type RIDCallRow
- func (*RIDCallRow) Descriptor() ([]byte, []int)deprecated
- func (x *RIDCallRow) GetDataCall() bool
- func (x *RIDCallRow) GetDeviceSerial() string
- func (x *RIDCallRow) GetDurationMs() int64
- func (x *RIDCallRow) GetEmergency() bool
- func (x *RIDCallRow) GetEncrypted() bool
- func (x *RIDCallRow) GetEndReason() string
- func (x *RIDCallRow) GetEndedAt() string
- func (x *RIDCallRow) GetFrequencyHz() uint32
- func (x *RIDCallRow) GetGroupId() uint32
- func (x *RIDCallRow) GetId() int64
- func (x *RIDCallRow) GetProtocol() string
- func (x *RIDCallRow) GetSourceId() uint32
- func (x *RIDCallRow) GetStartedAt() string
- func (x *RIDCallRow) GetSystem() string
- func (x *RIDCallRow) GetTalkgroupAlpha() string
- func (*RIDCallRow) ProtoMessage()
- func (x *RIDCallRow) ProtoReflect() protoreflect.Message
- func (x *RIDCallRow) Reset()
- func (x *RIDCallRow) String() string
- type RIDServiceClient
- type RIDServiceServer
- type RawVocoderFrame
- func (*RawVocoderFrame) Descriptor() ([]byte, []int)deprecated
- func (x *RawVocoderFrame) GetFrame() []byte
- func (x *RawVocoderFrame) GetVocoder() string
- func (*RawVocoderFrame) ProtoMessage()
- func (x *RawVocoderFrame) ProtoReflect() protoreflect.Message
- func (x *RawVocoderFrame) Reset()
- func (x *RawVocoderFrame) String() string
- type SDRStatus
- func (*SDRStatus) Descriptor() ([]byte, []int)deprecated
- func (x *SDRStatus) GetAttached() bool
- func (x *SDRStatus) GetDriver() string
- func (x *SDRStatus) GetRole() string
- func (x *SDRStatus) GetSerial() string
- func (*SDRStatus) ProtoMessage()
- func (x *SDRStatus) ProtoReflect() protoreflect.Message
- func (x *SDRStatus) Reset()
- func (x *SDRStatus) String() string
- type StreamAudioRequest
- func (*StreamAudioRequest) Descriptor() ([]byte, []int)deprecated
- func (x *StreamAudioRequest) GetDeviceSerials() []string
- func (x *StreamAudioRequest) GetIncludeRaw() bool
- func (x *StreamAudioRequest) GetTalkgroupIds() []uint32
- func (*StreamAudioRequest) ProtoMessage()
- func (x *StreamAudioRequest) ProtoReflect() protoreflect.Message
- func (x *StreamAudioRequest) Reset()
- func (x *StreamAudioRequest) String() string
- type System
- func (*System) Descriptor() ([]byte, []int)deprecated
- func (x *System) GetControlChannels() []uint32
- func (x *System) GetName() string
- func (x *System) GetProtocol() string
- func (x *System) GetRfss() uint32
- func (x *System) GetSite() uint32
- func (x *System) GetSystemId() uint32
- func (x *System) GetWacn() uint32
- func (*System) ProtoMessage()
- func (x *System) ProtoReflect() protoreflect.Message
- func (x *System) Reset()
- func (x *System) String() string
- type SystemServiceClient
- type SystemServiceServer
- type TalkGroup
- func (*TalkGroup) Descriptor() ([]byte, []int)deprecated
- func (x *TalkGroup) GetAlphaTag() string
- func (x *TalkGroup) GetDescription() string
- func (x *TalkGroup) GetGroup() string
- func (x *TalkGroup) GetId() uint32
- func (x *TalkGroup) GetLockout() bool
- func (x *TalkGroup) GetMode() string
- func (x *TalkGroup) GetPriority() int32
- func (x *TalkGroup) GetTag() string
- func (*TalkGroup) ProtoMessage()
- func (x *TalkGroup) ProtoReflect() protoreflect.Message
- func (x *TalkGroup) Reset()
- func (x *TalkGroup) String() string
- type TalkgroupServiceClient
- type TalkgroupServiceServer
- type UnimplementedAudioServiceServer
- type UnimplementedRIDServiceServer
- func (UnimplementedRIDServiceServer) GetRID(context.Context, *GetRIDRequest) (*GetRIDResponse, error)
- func (UnimplementedRIDServiceServer) ListRIDHistory(context.Context, *ListRIDHistoryRequest) (*ListRIDHistoryResponse, error)
- func (UnimplementedRIDServiceServer) ListRIDs(context.Context, *ListRIDsRequest) (*ListRIDsResponse, error)
- type UnimplementedSystemServiceServer
- type UnimplementedTalkgroupServiceServer
- func (UnimplementedTalkgroupServiceServer) GetTalkgroup(context.Context, *GetTalkgroupRequest) (*GetTalkgroupResponse, error)
- func (UnimplementedTalkgroupServiceServer) ListActiveCalls(context.Context, *ListActiveCallsRequest) (*ListActiveCallsResponse, error)
- func (UnimplementedTalkgroupServiceServer) ListTalkgroups(context.Context, *ListTalkgroupsRequest) (*ListTalkgroupsResponse, error)
- type UnsafeAudioServiceServer
- type UnsafeRIDServiceServer
- type UnsafeSystemServiceServer
- type UnsafeTalkgroupServiceServer
Constants ¶
const ( RIDService_ListRIDs_FullMethodName = "/gophertrunk.v1.RIDService/ListRIDs" RIDService_GetRID_FullMethodName = "/gophertrunk.v1.RIDService/GetRID" RIDService_ListRIDHistory_FullMethodName = "/gophertrunk.v1.RIDService/ListRIDHistory" )
const ( SystemService_ListSystems_FullMethodName = "/gophertrunk.v1.SystemService/ListSystems" SystemService_GetSystem_FullMethodName = "/gophertrunk.v1.SystemService/GetSystem" )
const ( TalkgroupService_ListTalkgroups_FullMethodName = "/gophertrunk.v1.TalkgroupService/ListTalkgroups" TalkgroupService_GetTalkgroup_FullMethodName = "/gophertrunk.v1.TalkgroupService/GetTalkgroup" TalkgroupService_ListActiveCalls_FullMethodName = "/gophertrunk.v1.TalkgroupService/ListActiveCalls" )
const (
AudioService_StreamAudio_FullMethodName = "/gophertrunk.v1.AudioService/StreamAudio"
)
Variables ¶
var AudioService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gophertrunk.v1.AudioService", HandlerType: (*AudioServiceServer)(nil), Methods: []grpc.MethodDesc{}, Streams: []grpc.StreamDesc{ { StreamName: "StreamAudio", Handler: _AudioService_StreamAudio_Handler, ServerStreams: true, }, }, Metadata: "audio.proto", }
AudioService_ServiceDesc is the grpc.ServiceDesc for AudioService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_audio_proto protoreflect.FileDescriptor
var File_events_proto protoreflect.FileDescriptor
var File_rid_proto protoreflect.FileDescriptor
var File_system_proto protoreflect.FileDescriptor
var File_talkgroup_proto protoreflect.FileDescriptor
var RIDService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gophertrunk.v1.RIDService", HandlerType: (*RIDServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListRIDs", Handler: _RIDService_ListRIDs_Handler, }, { MethodName: "GetRID", Handler: _RIDService_GetRID_Handler, }, { MethodName: "ListRIDHistory", Handler: _RIDService_ListRIDHistory_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "rid.proto", }
RIDService_ServiceDesc is the grpc.ServiceDesc for RIDService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var SystemService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gophertrunk.v1.SystemService", HandlerType: (*SystemServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListSystems", Handler: _SystemService_ListSystems_Handler, }, { MethodName: "GetSystem", Handler: _SystemService_GetSystem_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "system.proto", }
SystemService_ServiceDesc is the grpc.ServiceDesc for SystemService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TalkgroupService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "gophertrunk.v1.TalkgroupService", HandlerType: (*TalkgroupServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ListTalkgroups", Handler: _TalkgroupService_ListTalkgroups_Handler, }, { MethodName: "GetTalkgroup", Handler: _TalkgroupService_GetTalkgroup_Handler, }, { MethodName: "ListActiveCalls", Handler: _TalkgroupService_ListActiveCalls_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "talkgroup.proto", }
TalkgroupService_ServiceDesc is the grpc.ServiceDesc for TalkgroupService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterAudioServiceServer ¶
func RegisterAudioServiceServer(s grpc.ServiceRegistrar, srv AudioServiceServer)
func RegisterRIDServiceServer ¶ added in v0.2.4
func RegisterRIDServiceServer(s grpc.ServiceRegistrar, srv RIDServiceServer)
func RegisterSystemServiceServer ¶
func RegisterSystemServiceServer(s grpc.ServiceRegistrar, srv SystemServiceServer)
func RegisterTalkgroupServiceServer ¶
func RegisterTalkgroupServiceServer(s grpc.ServiceRegistrar, srv TalkgroupServiceServer)
Types ¶
type ActiveCall ¶
type ActiveCall struct {
Grant *Grant `protobuf:"bytes,1,opt,name=grant,proto3" json:"grant,omitempty"`
Talkgroup *TalkGroup `protobuf:"bytes,2,opt,name=talkgroup,proto3" json:"talkgroup,omitempty"`
DeviceSerial string `protobuf:"bytes,3,opt,name=device_serial,json=deviceSerial,proto3" json:"device_serial,omitempty"`
StartedAt string `protobuf:"bytes,4,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
LastHeardAt string `protobuf:"bytes,5,opt,name=last_heard_at,json=lastHeardAt,proto3" json:"last_heard_at,omitempty"`
// contains filtered or unexported fields
}
func (*ActiveCall) Descriptor
deprecated
func (*ActiveCall) Descriptor() ([]byte, []int)
Deprecated: Use ActiveCall.ProtoReflect.Descriptor instead.
func (*ActiveCall) GetDeviceSerial ¶
func (x *ActiveCall) GetDeviceSerial() string
func (*ActiveCall) GetGrant ¶
func (x *ActiveCall) GetGrant() *Grant
func (*ActiveCall) GetLastHeardAt ¶
func (x *ActiveCall) GetLastHeardAt() string
func (*ActiveCall) GetStartedAt ¶
func (x *ActiveCall) GetStartedAt() string
func (*ActiveCall) GetTalkgroup ¶
func (x *ActiveCall) GetTalkgroup() *TalkGroup
func (*ActiveCall) ProtoMessage ¶
func (*ActiveCall) ProtoMessage()
func (*ActiveCall) ProtoReflect ¶
func (x *ActiveCall) ProtoReflect() protoreflect.Message
func (*ActiveCall) Reset ¶
func (x *ActiveCall) Reset()
func (*ActiveCall) String ¶
func (x *ActiveCall) String() string
type AudioFrame ¶
type AudioFrame struct {
// Server-stamped time the frame was emitted (RFC 3339 UTC).
Timestamp string `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// The call this frame belongs to. Source ID + group ID + start time
// disambiguate concurrent calls on different Voice devices.
Grant *Grant `protobuf:"bytes,2,opt,name=grant,proto3" json:"grant,omitempty"`
DeviceSerial string `protobuf:"bytes,3,opt,name=device_serial,json=deviceSerial,proto3" json:"device_serial,omitempty"`
// Types that are valid to be assigned to Body:
//
// *AudioFrame_Pcm
// *AudioFrame_Raw
Body isAudioFrame_Body `protobuf_oneof:"body"`
// contains filtered or unexported fields
}
AudioFrame is one chunk of decoded PCM (or raw vocoder bytes) for an active call. Streamed from the daemon to subscribers.
func (*AudioFrame) Descriptor
deprecated
func (*AudioFrame) Descriptor() ([]byte, []int)
Deprecated: Use AudioFrame.ProtoReflect.Descriptor instead.
func (*AudioFrame) GetBody ¶
func (x *AudioFrame) GetBody() isAudioFrame_Body
func (*AudioFrame) GetDeviceSerial ¶
func (x *AudioFrame) GetDeviceSerial() string
func (*AudioFrame) GetGrant ¶
func (x *AudioFrame) GetGrant() *Grant
func (*AudioFrame) GetPcm ¶
func (x *AudioFrame) GetPcm() *PCMSamples
func (*AudioFrame) GetRaw ¶
func (x *AudioFrame) GetRaw() *RawVocoderFrame
func (*AudioFrame) GetTimestamp ¶
func (x *AudioFrame) GetTimestamp() string
func (*AudioFrame) ProtoMessage ¶
func (*AudioFrame) ProtoMessage()
func (*AudioFrame) ProtoReflect ¶
func (x *AudioFrame) ProtoReflect() protoreflect.Message
func (*AudioFrame) Reset ¶
func (x *AudioFrame) Reset()
func (*AudioFrame) String ¶
func (x *AudioFrame) String() string
type AudioFrame_Pcm ¶
type AudioFrame_Pcm struct {
Pcm *PCMSamples `protobuf:"bytes,10,opt,name=pcm,proto3,oneof"` // decoded 16-bit mono PCM
}
type AudioFrame_Raw ¶
type AudioFrame_Raw struct {
Raw *RawVocoderFrame `protobuf:"bytes,11,opt,name=raw,proto3,oneof"` // un-decoded vocoder bytes (IMBE / AMBE+2)
}
type AudioServiceClient ¶
type AudioServiceClient interface {
// Server-streaming RPC. The daemon emits one AudioFrame per arriving
// PCM chunk for matching active calls.
StreamAudio(ctx context.Context, in *StreamAudioRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[AudioFrame], error)
}
AudioServiceClient is the client API for AudioService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAudioServiceClient ¶
func NewAudioServiceClient(cc grpc.ClientConnInterface) AudioServiceClient
type AudioServiceServer ¶
type AudioServiceServer interface {
// Server-streaming RPC. The daemon emits one AudioFrame per arriving
// PCM chunk for matching active calls.
StreamAudio(*StreamAudioRequest, grpc.ServerStreamingServer[AudioFrame]) error
// contains filtered or unexported methods
}
AudioServiceServer is the server API for AudioService service. All implementations must embed UnimplementedAudioServiceServer for forward compatibility.
type AudioService_StreamAudioClient ¶
type AudioService_StreamAudioClient = grpc.ServerStreamingClient[AudioFrame]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type AudioService_StreamAudioServer ¶
type AudioService_StreamAudioServer = grpc.ServerStreamingServer[AudioFrame]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type CCLocked ¶
type CCLocked struct {
FrequencyHz uint32 `protobuf:"varint,1,opt,name=frequency_hz,json=frequencyHz,proto3" json:"frequency_hz,omitempty"`
// Protocol-specific identifier: P25 NAC, DMR Color Code, NXDN
// BaudRate, etc. Carried as a key/value bag for extensibility.
Attrs map[string]string `` /* 137-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*CCLocked) Descriptor
deprecated
func (*CCLocked) GetFrequencyHz ¶
func (*CCLocked) ProtoMessage ¶
func (*CCLocked) ProtoMessage()
func (*CCLocked) ProtoReflect ¶
func (x *CCLocked) ProtoReflect() protoreflect.Message
type CCLost ¶
type CCLost struct {
FrequencyHz uint32 `protobuf:"varint,1,opt,name=frequency_hz,json=frequencyHz,proto3" json:"frequency_hz,omitempty"`
Attrs map[string]string `` /* 137-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*CCLost) Descriptor
deprecated
func (*CCLost) GetFrequencyHz ¶
func (*CCLost) ProtoMessage ¶
func (*CCLost) ProtoMessage()
func (*CCLost) ProtoReflect ¶
func (x *CCLost) ProtoReflect() protoreflect.Message
type CallEnd ¶
type CallEnd struct {
Grant *Grant `protobuf:"bytes,1,opt,name=grant,proto3" json:"grant,omitempty"`
Talkgroup *TalkGroup `protobuf:"bytes,2,opt,name=talkgroup,proto3" json:"talkgroup,omitempty"`
DeviceSerial string `protobuf:"bytes,3,opt,name=device_serial,json=deviceSerial,proto3" json:"device_serial,omitempty"`
StartedAt string `protobuf:"bytes,4,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` // RFC 3339
EndedAt string `protobuf:"bytes,5,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"`
Reason string `protobuf:"bytes,6,opt,name=reason,proto3" json:"reason,omitempty"` // EndReason.String()
// contains filtered or unexported fields
}
func (*CallEnd) Descriptor
deprecated
func (*CallEnd) GetDeviceSerial ¶
func (*CallEnd) GetEndedAt ¶
func (*CallEnd) GetStartedAt ¶
func (*CallEnd) GetTalkgroup ¶
func (*CallEnd) ProtoMessage ¶
func (*CallEnd) ProtoMessage()
func (*CallEnd) ProtoReflect ¶
func (x *CallEnd) ProtoReflect() protoreflect.Message
type CallStart ¶
type CallStart struct {
Grant *Grant `protobuf:"bytes,1,opt,name=grant,proto3" json:"grant,omitempty"`
Talkgroup *TalkGroup `protobuf:"bytes,2,opt,name=talkgroup,proto3" json:"talkgroup,omitempty"` // optional; null if unknown
DeviceSerial string `protobuf:"bytes,3,opt,name=device_serial,json=deviceSerial,proto3" json:"device_serial,omitempty"`
// contains filtered or unexported fields
}
func (*CallStart) Descriptor
deprecated
func (*CallStart) GetDeviceSerial ¶
func (*CallStart) GetTalkgroup ¶
func (*CallStart) ProtoMessage ¶
func (*CallStart) ProtoMessage()
func (*CallStart) ProtoReflect ¶
func (x *CallStart) ProtoReflect() protoreflect.Message
type ErrorEvent ¶
type ErrorEvent struct {
Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` // subsystem ("sdr", "p25", "trunking", ...)
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*ErrorEvent) Descriptor
deprecated
func (*ErrorEvent) Descriptor() ([]byte, []int)
Deprecated: Use ErrorEvent.ProtoReflect.Descriptor instead.
func (*ErrorEvent) GetMessage ¶
func (x *ErrorEvent) GetMessage() string
func (*ErrorEvent) GetSource ¶
func (x *ErrorEvent) GetSource() string
func (*ErrorEvent) ProtoMessage ¶
func (*ErrorEvent) ProtoMessage()
func (*ErrorEvent) ProtoReflect ¶
func (x *ErrorEvent) ProtoReflect() protoreflect.Message
func (*ErrorEvent) Reset ¶
func (x *ErrorEvent) Reset()
func (*ErrorEvent) String ¶
func (x *ErrorEvent) String() string
type Event ¶
type Event struct {
// Event kind. Values match internal/events.Kind constants
// ("cc.locked", "cc.lost", "grant", "call.start", "call.end",
// "sdr.attached", "sdr.detached", "error").
Kind string `protobuf:"bytes,1,opt,name=kind,proto3" json:"kind,omitempty"`
// Server-stamped timestamp in RFC 3339 (UTC).
Timestamp string `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// Discriminated payload. Exactly one of these is set per event.
//
// Types that are valid to be assigned to Payload:
//
// *Event_CcLocked
// *Event_CcLost
// *Event_Grant
// *Event_CallStart
// *Event_CallEnd
// *Event_SdrStatus
// *Event_Error
Payload isEvent_Payload `protobuf_oneof:"payload"`
// contains filtered or unexported fields
}
Event is the canonical envelope for everything published on the internal events bus and bridged out over the streaming API.
func (*Event) Descriptor
deprecated
func (*Event) GetCallEnd ¶
func (*Event) GetCallStart ¶
func (*Event) GetCcLocked ¶
func (*Event) GetError ¶
func (x *Event) GetError() *ErrorEvent
func (*Event) GetPayload ¶
func (x *Event) GetPayload() isEvent_Payload
func (*Event) GetSdrStatus ¶
func (*Event) GetTimestamp ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) ProtoReflect ¶
func (x *Event) ProtoReflect() protoreflect.Message
type Event_CallEnd ¶
type Event_CallEnd struct {
CallEnd *CallEnd `protobuf:"bytes,14,opt,name=call_end,json=callEnd,proto3,oneof"`
}
type Event_CallStart ¶
type Event_CallStart struct {
CallStart *CallStart `protobuf:"bytes,13,opt,name=call_start,json=callStart,proto3,oneof"`
}
type Event_CcLocked ¶
type Event_CcLocked struct {
CcLocked *CCLocked `protobuf:"bytes,10,opt,name=cc_locked,json=ccLocked,proto3,oneof"`
}
type Event_CcLost ¶
type Event_CcLost struct {
CcLost *CCLost `protobuf:"bytes,11,opt,name=cc_lost,json=ccLost,proto3,oneof"`
}
type Event_Error ¶
type Event_Error struct {
Error *ErrorEvent `protobuf:"bytes,16,opt,name=error,proto3,oneof"`
}
type Event_Grant ¶
type Event_Grant struct {
Grant *Grant `protobuf:"bytes,12,opt,name=grant,proto3,oneof"`
}
type Event_SdrStatus ¶
type Event_SdrStatus struct {
SdrStatus *SDRStatus `protobuf:"bytes,15,opt,name=sdr_status,json=sdrStatus,proto3,oneof"`
}
type GetRIDRequest ¶ added in v0.2.4
type GetRIDRequest struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetRIDRequest) Descriptor
deprecated
added in
v0.2.4
func (*GetRIDRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRIDRequest.ProtoReflect.Descriptor instead.
func (*GetRIDRequest) GetId ¶ added in v0.2.4
func (x *GetRIDRequest) GetId() uint32
func (*GetRIDRequest) ProtoMessage ¶ added in v0.2.4
func (*GetRIDRequest) ProtoMessage()
func (*GetRIDRequest) ProtoReflect ¶ added in v0.2.4
func (x *GetRIDRequest) ProtoReflect() protoreflect.Message
func (*GetRIDRequest) Reset ¶ added in v0.2.4
func (x *GetRIDRequest) Reset()
func (*GetRIDRequest) String ¶ added in v0.2.4
func (x *GetRIDRequest) String() string
type GetRIDResponse ¶ added in v0.2.4
type GetRIDResponse struct {
Rid *RID `protobuf:"bytes,1,opt,name=rid,proto3" json:"rid,omitempty"`
// contains filtered or unexported fields
}
func (*GetRIDResponse) Descriptor
deprecated
added in
v0.2.4
func (*GetRIDResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRIDResponse.ProtoReflect.Descriptor instead.
func (*GetRIDResponse) GetRid ¶ added in v0.2.4
func (x *GetRIDResponse) GetRid() *RID
func (*GetRIDResponse) ProtoMessage ¶ added in v0.2.4
func (*GetRIDResponse) ProtoMessage()
func (*GetRIDResponse) ProtoReflect ¶ added in v0.2.4
func (x *GetRIDResponse) ProtoReflect() protoreflect.Message
func (*GetRIDResponse) Reset ¶ added in v0.2.4
func (x *GetRIDResponse) Reset()
func (*GetRIDResponse) String ¶ added in v0.2.4
func (x *GetRIDResponse) String() string
type GetSystemRequest ¶
type GetSystemRequest struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// contains filtered or unexported fields
}
func (*GetSystemRequest) Descriptor
deprecated
func (*GetSystemRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSystemRequest.ProtoReflect.Descriptor instead.
func (*GetSystemRequest) GetName ¶
func (x *GetSystemRequest) GetName() string
func (*GetSystemRequest) ProtoMessage ¶
func (*GetSystemRequest) ProtoMessage()
func (*GetSystemRequest) ProtoReflect ¶
func (x *GetSystemRequest) ProtoReflect() protoreflect.Message
func (*GetSystemRequest) Reset ¶
func (x *GetSystemRequest) Reset()
func (*GetSystemRequest) String ¶
func (x *GetSystemRequest) String() string
type GetSystemResponse ¶
type GetSystemResponse struct {
System *System `protobuf:"bytes,1,opt,name=system,proto3" json:"system,omitempty"`
// contains filtered or unexported fields
}
func (*GetSystemResponse) Descriptor
deprecated
func (*GetSystemResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSystemResponse.ProtoReflect.Descriptor instead.
func (*GetSystemResponse) GetSystem ¶
func (x *GetSystemResponse) GetSystem() *System
func (*GetSystemResponse) ProtoMessage ¶
func (*GetSystemResponse) ProtoMessage()
func (*GetSystemResponse) ProtoReflect ¶
func (x *GetSystemResponse) ProtoReflect() protoreflect.Message
func (*GetSystemResponse) Reset ¶
func (x *GetSystemResponse) Reset()
func (*GetSystemResponse) String ¶
func (x *GetSystemResponse) String() string
type GetTalkgroupRequest ¶
type GetTalkgroupRequest struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
// contains filtered or unexported fields
}
func (*GetTalkgroupRequest) Descriptor
deprecated
func (*GetTalkgroupRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTalkgroupRequest.ProtoReflect.Descriptor instead.
func (*GetTalkgroupRequest) GetId ¶
func (x *GetTalkgroupRequest) GetId() uint32
func (*GetTalkgroupRequest) ProtoMessage ¶
func (*GetTalkgroupRequest) ProtoMessage()
func (*GetTalkgroupRequest) ProtoReflect ¶
func (x *GetTalkgroupRequest) ProtoReflect() protoreflect.Message
func (*GetTalkgroupRequest) Reset ¶
func (x *GetTalkgroupRequest) Reset()
func (*GetTalkgroupRequest) String ¶
func (x *GetTalkgroupRequest) String() string
type GetTalkgroupResponse ¶
type GetTalkgroupResponse struct {
Talkgroup *TalkGroup `protobuf:"bytes,1,opt,name=talkgroup,proto3" json:"talkgroup,omitempty"`
// contains filtered or unexported fields
}
func (*GetTalkgroupResponse) Descriptor
deprecated
func (*GetTalkgroupResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTalkgroupResponse.ProtoReflect.Descriptor instead.
func (*GetTalkgroupResponse) GetTalkgroup ¶
func (x *GetTalkgroupResponse) GetTalkgroup() *TalkGroup
func (*GetTalkgroupResponse) ProtoMessage ¶
func (*GetTalkgroupResponse) ProtoMessage()
func (*GetTalkgroupResponse) ProtoReflect ¶
func (x *GetTalkgroupResponse) ProtoReflect() protoreflect.Message
func (*GetTalkgroupResponse) Reset ¶
func (x *GetTalkgroupResponse) Reset()
func (*GetTalkgroupResponse) String ¶
func (x *GetTalkgroupResponse) String() string
type Grant ¶
type Grant struct {
System string `protobuf:"bytes,1,opt,name=system,proto3" json:"system,omitempty"`
Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` // "p25" / "dmr" / "nxdn"
GroupId uint32 `protobuf:"varint,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
SourceId uint32 `protobuf:"varint,4,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
FrequencyHz uint32 `protobuf:"varint,5,opt,name=frequency_hz,json=frequencyHz,proto3" json:"frequency_hz,omitempty"`
ChannelId uint32 `protobuf:"varint,6,opt,name=channel_id,json=channelId,proto3" json:"channel_id,omitempty"`
ChannelNumber uint32 `protobuf:"varint,7,opt,name=channel_number,json=channelNumber,proto3" json:"channel_number,omitempty"`
Encrypted bool `protobuf:"varint,8,opt,name=encrypted,proto3" json:"encrypted,omitempty"`
Emergency bool `protobuf:"varint,9,opt,name=emergency,proto3" json:"emergency,omitempty"`
DataCall bool `protobuf:"varint,10,opt,name=data_call,json=dataCall,proto3" json:"data_call,omitempty"`
// P25 encryption metadata recovered from the in-call signalling
// (Phase 1 LDU2 Encryption Sync, Phase 2 MAC EncryptionSync PDU).
// Meaningful only when encrypted=true; zero for clear calls and
// for encrypted calls whose ALGID/KID has not landed yet
// (Phase 1 grants publish before the first LDU2 — the engine
// backfills the values via KindCallEncryption).
AlgorithmId uint32 `protobuf:"varint,11,opt,name=algorithm_id,json=algorithmId,proto3" json:"algorithm_id,omitempty"`
KeyId uint32 `protobuf:"varint,12,opt,name=key_id,json=keyId,proto3" json:"key_id,omitempty"`
// TDMA timeslot the call occupies on its carrier, 1-based:
// 0 = not applicable / unknown (P25 Phase 1, NXDN, analog),
// 1 = TS1, 2 = TS2. DMR Tier III carries two independent calls on
// one 12.5 kHz carrier, so (frequency_hz, timeslot) identifies a
// call rather than frequency alone.
Timeslot uint32 `protobuf:"varint,13,opt,name=timeslot,proto3" json:"timeslot,omitempty"`
// contains filtered or unexported fields
}
func (*Grant) Descriptor
deprecated
func (*Grant) GetAlgorithmId ¶ added in v0.2.2
func (*Grant) GetChannelId ¶
func (*Grant) GetChannelNumber ¶
func (*Grant) GetDataCall ¶
func (*Grant) GetEmergency ¶
func (*Grant) GetEncrypted ¶
func (*Grant) GetFrequencyHz ¶
func (*Grant) GetGroupId ¶
func (*Grant) GetProtocol ¶
func (*Grant) GetSourceId ¶
func (*Grant) GetTimeslot ¶ added in v0.3.2
func (*Grant) ProtoMessage ¶
func (*Grant) ProtoMessage()
func (*Grant) ProtoReflect ¶
func (x *Grant) ProtoReflect() protoreflect.Message
type ListActiveCallsRequest ¶
type ListActiveCallsRequest struct {
// contains filtered or unexported fields
}
func (*ListActiveCallsRequest) Descriptor
deprecated
func (*ListActiveCallsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListActiveCallsRequest.ProtoReflect.Descriptor instead.
func (*ListActiveCallsRequest) ProtoMessage ¶
func (*ListActiveCallsRequest) ProtoMessage()
func (*ListActiveCallsRequest) ProtoReflect ¶
func (x *ListActiveCallsRequest) ProtoReflect() protoreflect.Message
func (*ListActiveCallsRequest) Reset ¶
func (x *ListActiveCallsRequest) Reset()
func (*ListActiveCallsRequest) String ¶
func (x *ListActiveCallsRequest) String() string
type ListActiveCallsResponse ¶
type ListActiveCallsResponse struct {
Calls []*ActiveCall `protobuf:"bytes,1,rep,name=calls,proto3" json:"calls,omitempty"`
// contains filtered or unexported fields
}
func (*ListActiveCallsResponse) Descriptor
deprecated
func (*ListActiveCallsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListActiveCallsResponse.ProtoReflect.Descriptor instead.
func (*ListActiveCallsResponse) GetCalls ¶
func (x *ListActiveCallsResponse) GetCalls() []*ActiveCall
func (*ListActiveCallsResponse) ProtoMessage ¶
func (*ListActiveCallsResponse) ProtoMessage()
func (*ListActiveCallsResponse) ProtoReflect ¶
func (x *ListActiveCallsResponse) ProtoReflect() protoreflect.Message
func (*ListActiveCallsResponse) Reset ¶
func (x *ListActiveCallsResponse) Reset()
func (*ListActiveCallsResponse) String ¶
func (x *ListActiveCallsResponse) String() string
type ListRIDHistoryRequest ¶ added in v0.2.4
type ListRIDHistoryRequest struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"` // 0 = server default
System string `protobuf:"bytes,3,opt,name=system,proto3" json:"system,omitempty"` // optional system filter
// contains filtered or unexported fields
}
func (*ListRIDHistoryRequest) Descriptor
deprecated
added in
v0.2.4
func (*ListRIDHistoryRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRIDHistoryRequest.ProtoReflect.Descriptor instead.
func (*ListRIDHistoryRequest) GetId ¶ added in v0.2.4
func (x *ListRIDHistoryRequest) GetId() uint32
func (*ListRIDHistoryRequest) GetLimit ¶ added in v0.2.4
func (x *ListRIDHistoryRequest) GetLimit() uint32
func (*ListRIDHistoryRequest) GetSystem ¶ added in v0.2.4
func (x *ListRIDHistoryRequest) GetSystem() string
func (*ListRIDHistoryRequest) ProtoMessage ¶ added in v0.2.4
func (*ListRIDHistoryRequest) ProtoMessage()
func (*ListRIDHistoryRequest) ProtoReflect ¶ added in v0.2.4
func (x *ListRIDHistoryRequest) ProtoReflect() protoreflect.Message
func (*ListRIDHistoryRequest) Reset ¶ added in v0.2.4
func (x *ListRIDHistoryRequest) Reset()
func (*ListRIDHistoryRequest) String ¶ added in v0.2.4
func (x *ListRIDHistoryRequest) String() string
type ListRIDHistoryResponse ¶ added in v0.2.4
type ListRIDHistoryResponse struct {
Calls []*RIDCallRow `protobuf:"bytes,1,rep,name=calls,proto3" json:"calls,omitempty"`
// contains filtered or unexported fields
}
func (*ListRIDHistoryResponse) Descriptor
deprecated
added in
v0.2.4
func (*ListRIDHistoryResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRIDHistoryResponse.ProtoReflect.Descriptor instead.
func (*ListRIDHistoryResponse) GetCalls ¶ added in v0.2.4
func (x *ListRIDHistoryResponse) GetCalls() []*RIDCallRow
func (*ListRIDHistoryResponse) ProtoMessage ¶ added in v0.2.4
func (*ListRIDHistoryResponse) ProtoMessage()
func (*ListRIDHistoryResponse) ProtoReflect ¶ added in v0.2.4
func (x *ListRIDHistoryResponse) ProtoReflect() protoreflect.Message
func (*ListRIDHistoryResponse) Reset ¶ added in v0.2.4
func (x *ListRIDHistoryResponse) Reset()
func (*ListRIDHistoryResponse) String ¶ added in v0.2.4
func (x *ListRIDHistoryResponse) String() string
type ListRIDsRequest ¶ added in v0.2.4
type ListRIDsRequest struct {
// contains filtered or unexported fields
}
func (*ListRIDsRequest) Descriptor
deprecated
added in
v0.2.4
func (*ListRIDsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListRIDsRequest.ProtoReflect.Descriptor instead.
func (*ListRIDsRequest) ProtoMessage ¶ added in v0.2.4
func (*ListRIDsRequest) ProtoMessage()
func (*ListRIDsRequest) ProtoReflect ¶ added in v0.2.4
func (x *ListRIDsRequest) ProtoReflect() protoreflect.Message
func (*ListRIDsRequest) Reset ¶ added in v0.2.4
func (x *ListRIDsRequest) Reset()
func (*ListRIDsRequest) String ¶ added in v0.2.4
func (x *ListRIDsRequest) String() string
type ListRIDsResponse ¶ added in v0.2.4
type ListRIDsResponse struct {
Rids []*RID `protobuf:"bytes,1,rep,name=rids,proto3" json:"rids,omitempty"`
// contains filtered or unexported fields
}
func (*ListRIDsResponse) Descriptor
deprecated
added in
v0.2.4
func (*ListRIDsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListRIDsResponse.ProtoReflect.Descriptor instead.
func (*ListRIDsResponse) GetRids ¶ added in v0.2.4
func (x *ListRIDsResponse) GetRids() []*RID
func (*ListRIDsResponse) ProtoMessage ¶ added in v0.2.4
func (*ListRIDsResponse) ProtoMessage()
func (*ListRIDsResponse) ProtoReflect ¶ added in v0.2.4
func (x *ListRIDsResponse) ProtoReflect() protoreflect.Message
func (*ListRIDsResponse) Reset ¶ added in v0.2.4
func (x *ListRIDsResponse) Reset()
func (*ListRIDsResponse) String ¶ added in v0.2.4
func (x *ListRIDsResponse) String() string
type ListSystemsRequest ¶
type ListSystemsRequest struct {
// contains filtered or unexported fields
}
func (*ListSystemsRequest) Descriptor
deprecated
func (*ListSystemsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSystemsRequest.ProtoReflect.Descriptor instead.
func (*ListSystemsRequest) ProtoMessage ¶
func (*ListSystemsRequest) ProtoMessage()
func (*ListSystemsRequest) ProtoReflect ¶
func (x *ListSystemsRequest) ProtoReflect() protoreflect.Message
func (*ListSystemsRequest) Reset ¶
func (x *ListSystemsRequest) Reset()
func (*ListSystemsRequest) String ¶
func (x *ListSystemsRequest) String() string
type ListSystemsResponse ¶
type ListSystemsResponse struct {
Systems []*System `protobuf:"bytes,1,rep,name=systems,proto3" json:"systems,omitempty"`
// contains filtered or unexported fields
}
func (*ListSystemsResponse) Descriptor
deprecated
func (*ListSystemsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSystemsResponse.ProtoReflect.Descriptor instead.
func (*ListSystemsResponse) GetSystems ¶
func (x *ListSystemsResponse) GetSystems() []*System
func (*ListSystemsResponse) ProtoMessage ¶
func (*ListSystemsResponse) ProtoMessage()
func (*ListSystemsResponse) ProtoReflect ¶
func (x *ListSystemsResponse) ProtoReflect() protoreflect.Message
func (*ListSystemsResponse) Reset ¶
func (x *ListSystemsResponse) Reset()
func (*ListSystemsResponse) String ¶
func (x *ListSystemsResponse) String() string
type ListTalkgroupsRequest ¶
type ListTalkgroupsRequest struct {
// Optional system filter; empty = all systems.
System string `protobuf:"bytes,1,opt,name=system,proto3" json:"system,omitempty"`
// contains filtered or unexported fields
}
func (*ListTalkgroupsRequest) Descriptor
deprecated
func (*ListTalkgroupsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListTalkgroupsRequest.ProtoReflect.Descriptor instead.
func (*ListTalkgroupsRequest) GetSystem ¶
func (x *ListTalkgroupsRequest) GetSystem() string
func (*ListTalkgroupsRequest) ProtoMessage ¶
func (*ListTalkgroupsRequest) ProtoMessage()
func (*ListTalkgroupsRequest) ProtoReflect ¶
func (x *ListTalkgroupsRequest) ProtoReflect() protoreflect.Message
func (*ListTalkgroupsRequest) Reset ¶
func (x *ListTalkgroupsRequest) Reset()
func (*ListTalkgroupsRequest) String ¶
func (x *ListTalkgroupsRequest) String() string
type ListTalkgroupsResponse ¶
type ListTalkgroupsResponse struct {
Talkgroups []*TalkGroup `protobuf:"bytes,1,rep,name=talkgroups,proto3" json:"talkgroups,omitempty"`
// contains filtered or unexported fields
}
func (*ListTalkgroupsResponse) Descriptor
deprecated
func (*ListTalkgroupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListTalkgroupsResponse.ProtoReflect.Descriptor instead.
func (*ListTalkgroupsResponse) GetTalkgroups ¶
func (x *ListTalkgroupsResponse) GetTalkgroups() []*TalkGroup
func (*ListTalkgroupsResponse) ProtoMessage ¶
func (*ListTalkgroupsResponse) ProtoMessage()
func (*ListTalkgroupsResponse) ProtoReflect ¶
func (x *ListTalkgroupsResponse) ProtoReflect() protoreflect.Message
func (*ListTalkgroupsResponse) Reset ¶
func (x *ListTalkgroupsResponse) Reset()
func (*ListTalkgroupsResponse) String ¶
func (x *ListTalkgroupsResponse) String() string
type PCMSamples ¶
type PCMSamples struct {
SampleRate uint32 `protobuf:"varint,1,opt,name=sample_rate,json=sampleRate,proto3" json:"sample_rate,omitempty"` // typically 8000
// Little-endian 16-bit signed samples.
Samples []byte `protobuf:"bytes,2,opt,name=samples,proto3" json:"samples,omitempty"`
// contains filtered or unexported fields
}
func (*PCMSamples) Descriptor
deprecated
func (*PCMSamples) Descriptor() ([]byte, []int)
Deprecated: Use PCMSamples.ProtoReflect.Descriptor instead.
func (*PCMSamples) GetSampleRate ¶
func (x *PCMSamples) GetSampleRate() uint32
func (*PCMSamples) GetSamples ¶
func (x *PCMSamples) GetSamples() []byte
func (*PCMSamples) ProtoMessage ¶
func (*PCMSamples) ProtoMessage()
func (*PCMSamples) ProtoReflect ¶
func (x *PCMSamples) ProtoReflect() protoreflect.Message
func (*PCMSamples) Reset ¶
func (x *PCMSamples) Reset()
func (*PCMSamples) String ¶
func (x *PCMSamples) String() string
type RID ¶ added in v0.2.4
type RID struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
Alias string `protobuf:"bytes,2,opt,name=alias,proto3" json:"alias,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"`
Group string `protobuf:"bytes,5,opt,name=group,proto3" json:"group,omitempty"`
Owner string `protobuf:"bytes,6,opt,name=owner,proto3" json:"owner,omitempty"`
Priority uint32 `protobuf:"varint,7,opt,name=priority,proto3" json:"priority,omitempty"`
Lockout bool `protobuf:"varint,8,opt,name=lockout,proto3" json:"lockout,omitempty"`
Watch bool `protobuf:"varint,9,opt,name=watch,proto3" json:"watch,omitempty"`
Icon string `protobuf:"bytes,10,opt,name=icon,proto3" json:"icon,omitempty"`
// Configured is true when the row is backed by an rid_alias_file
// entry; false for radios only ever seen over the air.
Configured bool `protobuf:"varint,11,opt,name=configured,proto3" json:"configured,omitempty"`
// Live observation overlay — empty/zero when the RID has not been
// observed since the daemon started (or since the tracker swept it).
System string `protobuf:"bytes,12,opt,name=system,proto3" json:"system,omitempty"`
Protocol string `protobuf:"bytes,13,opt,name=protocol,proto3" json:"protocol,omitempty"`
LastTalkgroup uint32 `protobuf:"varint,14,opt,name=last_talkgroup,json=lastTalkgroup,proto3" json:"last_talkgroup,omitempty"`
TalkerAlias string `protobuf:"bytes,15,opt,name=talker_alias,json=talkerAlias,proto3" json:"talker_alias,omitempty"`
TalkerAliasAt string `protobuf:"bytes,16,opt,name=talker_alias_at,json=talkerAliasAt,proto3" json:"talker_alias_at,omitempty"` // RFC3339
CallCount uint64 `protobuf:"varint,17,opt,name=call_count,json=callCount,proto3" json:"call_count,omitempty"`
FirstSeen string `protobuf:"bytes,18,opt,name=first_seen,json=firstSeen,proto3" json:"first_seen,omitempty"` // RFC3339
LastSeen string `protobuf:"bytes,19,opt,name=last_seen,json=lastSeen,proto3" json:"last_seen,omitempty"` // RFC3339
// talker_alias_unreliable flags an over-the-air alias whose decode
// passed CRC but held non-ASCII-printable characters (#711); a client
// should render it as suspect.
TalkerAliasUnreliable bool `` /* 128-byte string literal not displayed */
// contains filtered or unexported fields
}
RID is the per-radio-unit (subscriber unit) identifier as exposed by /api/v1/rids — the operator-configured static catalogue merged with the affiliation tracker's live observation. Configured rows carry alias / tag / owner / etc. from the per-system rid_alias_file; live rows carry the over-the-air observation overlay.
func (*RID) Descriptor
deprecated
added in
v0.2.4
func (*RID) GetCallCount ¶ added in v0.2.4
func (*RID) GetConfigured ¶ added in v0.2.4
func (*RID) GetDescription ¶ added in v0.2.4
func (*RID) GetFirstSeen ¶ added in v0.2.4
func (*RID) GetLastSeen ¶ added in v0.2.4
func (*RID) GetLastTalkgroup ¶ added in v0.2.4
func (*RID) GetLockout ¶ added in v0.2.4
func (*RID) GetPriority ¶ added in v0.2.4
func (*RID) GetProtocol ¶ added in v0.2.4
func (*RID) GetTalkerAlias ¶ added in v0.2.4
func (*RID) GetTalkerAliasAt ¶ added in v0.2.4
func (*RID) GetTalkerAliasUnreliable ¶ added in v0.5.0
func (*RID) ProtoMessage ¶ added in v0.2.4
func (*RID) ProtoMessage()
func (*RID) ProtoReflect ¶ added in v0.2.4
func (x *RID) ProtoReflect() protoreflect.Message
type RIDCallRow ¶ added in v0.2.4
type RIDCallRow struct {
Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
System string `protobuf:"bytes,2,opt,name=system,proto3" json:"system,omitempty"`
Protocol string `protobuf:"bytes,3,opt,name=protocol,proto3" json:"protocol,omitempty"`
GroupId uint32 `protobuf:"varint,4,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
SourceId uint32 `protobuf:"varint,5,opt,name=source_id,json=sourceId,proto3" json:"source_id,omitempty"`
FrequencyHz uint32 `protobuf:"varint,6,opt,name=frequency_hz,json=frequencyHz,proto3" json:"frequency_hz,omitempty"`
Encrypted bool `protobuf:"varint,7,opt,name=encrypted,proto3" json:"encrypted,omitempty"`
Emergency bool `protobuf:"varint,8,opt,name=emergency,proto3" json:"emergency,omitempty"`
DataCall bool `protobuf:"varint,9,opt,name=data_call,json=dataCall,proto3" json:"data_call,omitempty"`
DeviceSerial string `protobuf:"bytes,10,opt,name=device_serial,json=deviceSerial,proto3" json:"device_serial,omitempty"`
StartedAt string `protobuf:"bytes,11,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"` // RFC3339
EndedAt string `protobuf:"bytes,12,opt,name=ended_at,json=endedAt,proto3" json:"ended_at,omitempty"` // RFC3339, empty if still active
DurationMs int64 `protobuf:"varint,13,opt,name=duration_ms,json=durationMs,proto3" json:"duration_ms,omitempty"`
EndReason string `protobuf:"bytes,14,opt,name=end_reason,json=endReason,proto3" json:"end_reason,omitempty"`
TalkgroupAlpha string `protobuf:"bytes,15,opt,name=talkgroup_alpha,json=talkgroupAlpha,proto3" json:"talkgroup_alpha,omitempty"`
// contains filtered or unexported fields
}
func (*RIDCallRow) Descriptor
deprecated
added in
v0.2.4
func (*RIDCallRow) Descriptor() ([]byte, []int)
Deprecated: Use RIDCallRow.ProtoReflect.Descriptor instead.
func (*RIDCallRow) GetDataCall ¶ added in v0.2.4
func (x *RIDCallRow) GetDataCall() bool
func (*RIDCallRow) GetDeviceSerial ¶ added in v0.2.4
func (x *RIDCallRow) GetDeviceSerial() string
func (*RIDCallRow) GetDurationMs ¶ added in v0.2.4
func (x *RIDCallRow) GetDurationMs() int64
func (*RIDCallRow) GetEmergency ¶ added in v0.2.4
func (x *RIDCallRow) GetEmergency() bool
func (*RIDCallRow) GetEncrypted ¶ added in v0.2.4
func (x *RIDCallRow) GetEncrypted() bool
func (*RIDCallRow) GetEndReason ¶ added in v0.2.4
func (x *RIDCallRow) GetEndReason() string
func (*RIDCallRow) GetEndedAt ¶ added in v0.2.4
func (x *RIDCallRow) GetEndedAt() string
func (*RIDCallRow) GetFrequencyHz ¶ added in v0.2.4
func (x *RIDCallRow) GetFrequencyHz() uint32
func (*RIDCallRow) GetGroupId ¶ added in v0.2.4
func (x *RIDCallRow) GetGroupId() uint32
func (*RIDCallRow) GetId ¶ added in v0.2.4
func (x *RIDCallRow) GetId() int64
func (*RIDCallRow) GetProtocol ¶ added in v0.2.4
func (x *RIDCallRow) GetProtocol() string
func (*RIDCallRow) GetSourceId ¶ added in v0.2.4
func (x *RIDCallRow) GetSourceId() uint32
func (*RIDCallRow) GetStartedAt ¶ added in v0.2.4
func (x *RIDCallRow) GetStartedAt() string
func (*RIDCallRow) GetSystem ¶ added in v0.2.4
func (x *RIDCallRow) GetSystem() string
func (*RIDCallRow) GetTalkgroupAlpha ¶ added in v0.2.4
func (x *RIDCallRow) GetTalkgroupAlpha() string
func (*RIDCallRow) ProtoMessage ¶ added in v0.2.4
func (*RIDCallRow) ProtoMessage()
func (*RIDCallRow) ProtoReflect ¶ added in v0.2.4
func (x *RIDCallRow) ProtoReflect() protoreflect.Message
func (*RIDCallRow) Reset ¶ added in v0.2.4
func (x *RIDCallRow) Reset()
func (*RIDCallRow) String ¶ added in v0.2.4
func (x *RIDCallRow) String() string
type RIDServiceClient ¶ added in v0.2.4
type RIDServiceClient interface {
ListRIDs(ctx context.Context, in *ListRIDsRequest, opts ...grpc.CallOption) (*ListRIDsResponse, error)
GetRID(ctx context.Context, in *GetRIDRequest, opts ...grpc.CallOption) (*GetRIDResponse, error)
ListRIDHistory(ctx context.Context, in *ListRIDHistoryRequest, opts ...grpc.CallOption) (*ListRIDHistoryResponse, error)
}
RIDServiceClient is the client API for RIDService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewRIDServiceClient ¶ added in v0.2.4
func NewRIDServiceClient(cc grpc.ClientConnInterface) RIDServiceClient
type RIDServiceServer ¶ added in v0.2.4
type RIDServiceServer interface {
ListRIDs(context.Context, *ListRIDsRequest) (*ListRIDsResponse, error)
GetRID(context.Context, *GetRIDRequest) (*GetRIDResponse, error)
ListRIDHistory(context.Context, *ListRIDHistoryRequest) (*ListRIDHistoryResponse, error)
// contains filtered or unexported methods
}
RIDServiceServer is the server API for RIDService service. All implementations must embed UnimplementedRIDServiceServer for forward compatibility.
type RawVocoderFrame ¶
type RawVocoderFrame struct {
// Vocoder name as registered in the voice/Registry ("imbe", "ambe",
// ...). "" means unknown / passthrough.
Vocoder string `protobuf:"bytes,1,opt,name=vocoder,proto3" json:"vocoder,omitempty"`
Frame []byte `protobuf:"bytes,2,opt,name=frame,proto3" json:"frame,omitempty"`
// contains filtered or unexported fields
}
func (*RawVocoderFrame) Descriptor
deprecated
func (*RawVocoderFrame) Descriptor() ([]byte, []int)
Deprecated: Use RawVocoderFrame.ProtoReflect.Descriptor instead.
func (*RawVocoderFrame) GetFrame ¶
func (x *RawVocoderFrame) GetFrame() []byte
func (*RawVocoderFrame) GetVocoder ¶
func (x *RawVocoderFrame) GetVocoder() string
func (*RawVocoderFrame) ProtoMessage ¶
func (*RawVocoderFrame) ProtoMessage()
func (*RawVocoderFrame) ProtoReflect ¶
func (x *RawVocoderFrame) ProtoReflect() protoreflect.Message
func (*RawVocoderFrame) Reset ¶
func (x *RawVocoderFrame) Reset()
func (*RawVocoderFrame) String ¶
func (x *RawVocoderFrame) String() string
type SDRStatus ¶
type SDRStatus struct {
Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"`
Serial string `protobuf:"bytes,2,opt,name=serial,proto3" json:"serial,omitempty"`
Role string `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"` // "control" / "voice" / "auto"
Attached bool `protobuf:"varint,4,opt,name=attached,proto3" json:"attached,omitempty"`
// contains filtered or unexported fields
}
func (*SDRStatus) Descriptor
deprecated
func (*SDRStatus) GetAttached ¶
func (*SDRStatus) ProtoMessage ¶
func (*SDRStatus) ProtoMessage()
func (*SDRStatus) ProtoReflect ¶
func (x *SDRStatus) ProtoReflect() protoreflect.Message
type StreamAudioRequest ¶
type StreamAudioRequest struct {
// Optional filter: only emit frames for these device serials. Empty
// matches all.
DeviceSerials []string `protobuf:"bytes,1,rep,name=device_serials,json=deviceSerials,proto3" json:"device_serials,omitempty"`
// Optional filter: only emit frames for these talkgroup IDs.
TalkgroupIds []uint32 `protobuf:"varint,2,rep,packed,name=talkgroup_ids,json=talkgroupIds,proto3" json:"talkgroup_ids,omitempty"`
// If true, also stream raw vocoder bytes (defaults false; PCM only).
IncludeRaw bool `protobuf:"varint,3,opt,name=include_raw,json=includeRaw,proto3" json:"include_raw,omitempty"`
// contains filtered or unexported fields
}
func (*StreamAudioRequest) Descriptor
deprecated
func (*StreamAudioRequest) Descriptor() ([]byte, []int)
Deprecated: Use StreamAudioRequest.ProtoReflect.Descriptor instead.
func (*StreamAudioRequest) GetDeviceSerials ¶
func (x *StreamAudioRequest) GetDeviceSerials() []string
func (*StreamAudioRequest) GetIncludeRaw ¶
func (x *StreamAudioRequest) GetIncludeRaw() bool
func (*StreamAudioRequest) GetTalkgroupIds ¶
func (x *StreamAudioRequest) GetTalkgroupIds() []uint32
func (*StreamAudioRequest) ProtoMessage ¶
func (*StreamAudioRequest) ProtoMessage()
func (*StreamAudioRequest) ProtoReflect ¶
func (x *StreamAudioRequest) ProtoReflect() protoreflect.Message
func (*StreamAudioRequest) Reset ¶
func (x *StreamAudioRequest) Reset()
func (*StreamAudioRequest) String ¶
func (x *StreamAudioRequest) String() string
type System ¶
type System struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` // "p25" / "dmr" / "nxdn"
ControlChannels []uint32 `protobuf:"varint,3,rep,packed,name=control_channels,json=controlChannels,proto3" json:"control_channels,omitempty"` // candidate frequencies in Hz
Wacn uint32 `protobuf:"varint,4,opt,name=wacn,proto3" json:"wacn,omitempty"` // 20-bit (P25)
SystemId uint32 `protobuf:"varint,5,opt,name=system_id,json=systemId,proto3" json:"system_id,omitempty"` // 12-bit
Rfss uint32 `protobuf:"varint,6,opt,name=rfss,proto3" json:"rfss,omitempty"`
Site uint32 `protobuf:"varint,7,opt,name=site,proto3" json:"site,omitempty"`
// contains filtered or unexported fields
}
System mirrors trunking.System.
func (*System) Descriptor
deprecated
func (*System) GetControlChannels ¶
func (*System) GetProtocol ¶
func (*System) GetSystemId ¶
func (*System) ProtoMessage ¶
func (*System) ProtoMessage()
func (*System) ProtoReflect ¶
func (x *System) ProtoReflect() protoreflect.Message
type SystemServiceClient ¶
type SystemServiceClient interface {
ListSystems(ctx context.Context, in *ListSystemsRequest, opts ...grpc.CallOption) (*ListSystemsResponse, error)
GetSystem(ctx context.Context, in *GetSystemRequest, opts ...grpc.CallOption) (*GetSystemResponse, error)
}
SystemServiceClient is the client API for SystemService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
SystemService exposes read-only access to the configured systems.
func NewSystemServiceClient ¶
func NewSystemServiceClient(cc grpc.ClientConnInterface) SystemServiceClient
type SystemServiceServer ¶
type SystemServiceServer interface {
ListSystems(context.Context, *ListSystemsRequest) (*ListSystemsResponse, error)
GetSystem(context.Context, *GetSystemRequest) (*GetSystemResponse, error)
// contains filtered or unexported methods
}
SystemServiceServer is the server API for SystemService service. All implementations must embed UnimplementedSystemServiceServer for forward compatibility.
SystemService exposes read-only access to the configured systems.
type TalkGroup ¶
type TalkGroup struct {
Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
AlphaTag string `protobuf:"bytes,2,opt,name=alpha_tag,json=alphaTag,proto3" json:"alpha_tag,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
Tag string `protobuf:"bytes,4,opt,name=tag,proto3" json:"tag,omitempty"`
Group string `protobuf:"bytes,5,opt,name=group,proto3" json:"group,omitempty"`
Mode string `protobuf:"bytes,6,opt,name=mode,proto3" json:"mode,omitempty"`
Priority int32 `protobuf:"varint,7,opt,name=priority,proto3" json:"priority,omitempty"`
Lockout bool `protobuf:"varint,8,opt,name=lockout,proto3" json:"lockout,omitempty"`
// contains filtered or unexported fields
}
TalkGroup mirrors trunking.TalkGroup. Used in CallStart/CallEnd envelopes and as the row type for ListTalkgroups responses.
func (*TalkGroup) Descriptor
deprecated
func (*TalkGroup) GetAlphaTag ¶
func (*TalkGroup) GetDescription ¶
func (*TalkGroup) GetLockout ¶
func (*TalkGroup) GetPriority ¶
func (*TalkGroup) ProtoMessage ¶
func (*TalkGroup) ProtoMessage()
func (*TalkGroup) ProtoReflect ¶
func (x *TalkGroup) ProtoReflect() protoreflect.Message
type TalkgroupServiceClient ¶
type TalkgroupServiceClient interface {
ListTalkgroups(ctx context.Context, in *ListTalkgroupsRequest, opts ...grpc.CallOption) (*ListTalkgroupsResponse, error)
GetTalkgroup(ctx context.Context, in *GetTalkgroupRequest, opts ...grpc.CallOption) (*GetTalkgroupResponse, error)
ListActiveCalls(ctx context.Context, in *ListActiveCallsRequest, opts ...grpc.CallOption) (*ListActiveCallsResponse, error)
}
TalkgroupServiceClient is the client API for TalkgroupService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTalkgroupServiceClient ¶
func NewTalkgroupServiceClient(cc grpc.ClientConnInterface) TalkgroupServiceClient
type TalkgroupServiceServer ¶
type TalkgroupServiceServer interface {
ListTalkgroups(context.Context, *ListTalkgroupsRequest) (*ListTalkgroupsResponse, error)
GetTalkgroup(context.Context, *GetTalkgroupRequest) (*GetTalkgroupResponse, error)
ListActiveCalls(context.Context, *ListActiveCallsRequest) (*ListActiveCallsResponse, error)
// contains filtered or unexported methods
}
TalkgroupServiceServer is the server API for TalkgroupService service. All implementations must embed UnimplementedTalkgroupServiceServer for forward compatibility.
type UnimplementedAudioServiceServer ¶
type UnimplementedAudioServiceServer struct{}
UnimplementedAudioServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedAudioServiceServer) StreamAudio ¶
func (UnimplementedAudioServiceServer) StreamAudio(*StreamAudioRequest, grpc.ServerStreamingServer[AudioFrame]) error
type UnimplementedRIDServiceServer ¶ added in v0.2.4
type UnimplementedRIDServiceServer struct{}
UnimplementedRIDServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedRIDServiceServer) GetRID ¶ added in v0.2.4
func (UnimplementedRIDServiceServer) GetRID(context.Context, *GetRIDRequest) (*GetRIDResponse, error)
func (UnimplementedRIDServiceServer) ListRIDHistory ¶ added in v0.2.4
func (UnimplementedRIDServiceServer) ListRIDHistory(context.Context, *ListRIDHistoryRequest) (*ListRIDHistoryResponse, error)
func (UnimplementedRIDServiceServer) ListRIDs ¶ added in v0.2.4
func (UnimplementedRIDServiceServer) ListRIDs(context.Context, *ListRIDsRequest) (*ListRIDsResponse, error)
type UnimplementedSystemServiceServer ¶
type UnimplementedSystemServiceServer struct{}
UnimplementedSystemServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedSystemServiceServer) GetSystem ¶
func (UnimplementedSystemServiceServer) GetSystem(context.Context, *GetSystemRequest) (*GetSystemResponse, error)
func (UnimplementedSystemServiceServer) ListSystems ¶
func (UnimplementedSystemServiceServer) ListSystems(context.Context, *ListSystemsRequest) (*ListSystemsResponse, error)
type UnimplementedTalkgroupServiceServer ¶
type UnimplementedTalkgroupServiceServer struct{}
UnimplementedTalkgroupServiceServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedTalkgroupServiceServer) GetTalkgroup ¶
func (UnimplementedTalkgroupServiceServer) GetTalkgroup(context.Context, *GetTalkgroupRequest) (*GetTalkgroupResponse, error)
func (UnimplementedTalkgroupServiceServer) ListActiveCalls ¶
func (UnimplementedTalkgroupServiceServer) ListActiveCalls(context.Context, *ListActiveCallsRequest) (*ListActiveCallsResponse, error)
func (UnimplementedTalkgroupServiceServer) ListTalkgroups ¶
func (UnimplementedTalkgroupServiceServer) ListTalkgroups(context.Context, *ListTalkgroupsRequest) (*ListTalkgroupsResponse, error)
type UnsafeAudioServiceServer ¶
type UnsafeAudioServiceServer interface {
// contains filtered or unexported methods
}
UnsafeAudioServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AudioServiceServer will result in compilation errors.
type UnsafeRIDServiceServer ¶ added in v0.2.4
type UnsafeRIDServiceServer interface {
// contains filtered or unexported methods
}
UnsafeRIDServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RIDServiceServer will result in compilation errors.
type UnsafeSystemServiceServer ¶
type UnsafeSystemServiceServer interface {
// contains filtered or unexported methods
}
UnsafeSystemServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SystemServiceServer will result in compilation errors.
type UnsafeTalkgroupServiceServer ¶
type UnsafeTalkgroupServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTalkgroupServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TalkgroupServiceServer will result in compilation errors.