Documentation ¶
Index ¶
- Variables
- func RegisterPlayerServer(s grpc.ServiceRegistrar, srv PlayerServer)
- type CloseReply
- type CloseRequest
- type EndChanReply
- type EndChanRequest
- type GetLengthReply
- type GetLengthRequest
- type GetLinkReply
- type GetLinkRequest
- type GetPauseReply
- type GetPauseRequest
- type GetPositionReply
- type GetPositionRequest
- type GetSpeedReply
- type GetSpeedRequest
- type IsEndedReply
- type IsEndedRequest
- type LoggingLevel
- func (LoggingLevel) Descriptor() protoreflect.EnumDescriptor
- func (x LoggingLevel) Enum() *LoggingLevel
- func (LoggingLevel) EnumDescriptor() ([]byte, []int)deprecated
- func (x LoggingLevel) Number() protoreflect.EnumNumber
- func (x LoggingLevel) String() string
- func (LoggingLevel) Type() protoreflect.EnumType
- type OpenReply
- type OpenRequest
- func (*OpenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OpenRequest) GetLink() string
- func (x *OpenRequest) GetLoggingLevel() LoggingLevel
- func (x *OpenRequest) GetTitle() string
- func (*OpenRequest) ProtoMessage()
- func (x *OpenRequest) ProtoReflect() protoreflect.Message
- func (x *OpenRequest) Reset()
- func (x *OpenRequest) String() string
- type PlayerClient
- type PlayerServer
- type Player_EndChanClient
- type Player_EndChanServer
- type ProcessTitleReply
- type ProcessTitleRequest
- type SetPauseReply
- type SetPauseRequest
- type SetSpeedReply
- type SetSpeedRequest
- type SetupForStreamingReply
- type SetupForStreamingRequest
- type StopReply
- type StopRequest
- type UnimplementedPlayerServer
- func (UnimplementedPlayerServer) Close(context.Context, *CloseRequest) (*CloseReply, error)
- func (UnimplementedPlayerServer) EndChan(*EndChanRequest, Player_EndChanServer) error
- func (UnimplementedPlayerServer) GetLength(context.Context, *GetLengthRequest) (*GetLengthReply, error)
- func (UnimplementedPlayerServer) GetLink(context.Context, *GetLinkRequest) (*GetLinkReply, error)
- func (UnimplementedPlayerServer) GetPause(context.Context, *GetPauseRequest) (*GetPauseReply, error)
- func (UnimplementedPlayerServer) GetPosition(context.Context, *GetPositionRequest) (*GetPositionReply, error)
- func (UnimplementedPlayerServer) GetSpeed(context.Context, *GetSpeedRequest) (*GetSpeedReply, error)
- func (UnimplementedPlayerServer) IsEnded(context.Context, *IsEndedRequest) (*IsEndedReply, error)
- func (UnimplementedPlayerServer) Open(context.Context, *OpenRequest) (*OpenReply, error)
- func (UnimplementedPlayerServer) ProcessTitle(context.Context, *ProcessTitleRequest) (*ProcessTitleReply, error)
- func (UnimplementedPlayerServer) SetPause(context.Context, *SetPauseRequest) (*SetPauseReply, error)
- func (UnimplementedPlayerServer) SetSpeed(context.Context, *SetSpeedRequest) (*SetSpeedReply, error)
- func (UnimplementedPlayerServer) SetupForStreaming(context.Context, *SetupForStreamingRequest) (*SetupForStreamingReply, error)
- func (UnimplementedPlayerServer) Stop(context.Context, *StopRequest) (*StopReply, error)
- type UnsafePlayerServer
Constants ¶
This section is empty.
Variables ¶
var ( LoggingLevel_name = map[int32]string{ 0: "LoggingLevelNone", 1: "LoggingLevelFatal", 2: "LoggingLevelPanic", 3: "LoggingLevelError", 4: "LoggingLevelWarn", 5: "LoggingLevelInfo", 6: "LoggingLevelDebug", 7: "LoggingLevelTrace", } LoggingLevel_value = map[string]int32{ "LoggingLevelNone": 0, "LoggingLevelFatal": 1, "LoggingLevelPanic": 2, "LoggingLevelError": 3, "LoggingLevelWarn": 4, "LoggingLevelInfo": 5, "LoggingLevelDebug": 6, "LoggingLevelTrace": 7, } )
Enum value maps for LoggingLevel.
var File_player_proto protoreflect.FileDescriptor
var Player_ServiceDesc = grpc.ServiceDesc{ ServiceName: "player.Player", HandlerType: (*PlayerServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Open", Handler: _Player_Open_Handler, }, { MethodName: "SetupForStreaming", Handler: _Player_SetupForStreaming_Handler, }, { MethodName: "ProcessTitle", Handler: _Player_ProcessTitle_Handler, }, { MethodName: "GetLink", Handler: _Player_GetLink_Handler, }, { MethodName: "IsEnded", Handler: _Player_IsEnded_Handler, }, { MethodName: "GetPosition", Handler: _Player_GetPosition_Handler, }, { MethodName: "GetLength", Handler: _Player_GetLength_Handler, }, { MethodName: "GetSpeed", Handler: _Player_GetSpeed_Handler, }, { MethodName: "SetSpeed", Handler: _Player_SetSpeed_Handler, }, { MethodName: "GetPause", Handler: _Player_GetPause_Handler, }, { MethodName: "SetPause", Handler: _Player_SetPause_Handler, }, { MethodName: "Stop", Handler: _Player_Stop_Handler, }, { MethodName: "Close", Handler: _Player_Close_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "EndChan", Handler: _Player_EndChan_Handler, ServerStreams: true, }, }, Metadata: "player.proto", }
Player_ServiceDesc is the grpc.ServiceDesc for Player service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterPlayerServer ¶
func RegisterPlayerServer(s grpc.ServiceRegistrar, srv PlayerServer)
Types ¶
type CloseReply ¶
type CloseReply struct {
// contains filtered or unexported fields
}
func (*CloseReply) Descriptor
deprecated
func (*CloseReply) Descriptor() ([]byte, []int)
Deprecated: Use CloseReply.ProtoReflect.Descriptor instead.
func (*CloseReply) ProtoMessage ¶
func (*CloseReply) ProtoMessage()
func (*CloseReply) ProtoReflect ¶
func (x *CloseReply) ProtoReflect() protoreflect.Message
func (*CloseReply) Reset ¶
func (x *CloseReply) Reset()
func (*CloseReply) String ¶
func (x *CloseReply) String() string
type CloseRequest ¶
type CloseRequest struct {
// contains filtered or unexported fields
}
func (*CloseRequest) Descriptor
deprecated
func (*CloseRequest) Descriptor() ([]byte, []int)
Deprecated: Use CloseRequest.ProtoReflect.Descriptor instead.
func (*CloseRequest) ProtoMessage ¶
func (*CloseRequest) ProtoMessage()
func (*CloseRequest) ProtoReflect ¶
func (x *CloseRequest) ProtoReflect() protoreflect.Message
func (*CloseRequest) Reset ¶
func (x *CloseRequest) Reset()
func (*CloseRequest) String ¶
func (x *CloseRequest) String() string
type EndChanReply ¶
type EndChanReply struct {
// contains filtered or unexported fields
}
func (*EndChanReply) Descriptor
deprecated
func (*EndChanReply) Descriptor() ([]byte, []int)
Deprecated: Use EndChanReply.ProtoReflect.Descriptor instead.
func (*EndChanReply) ProtoMessage ¶
func (*EndChanReply) ProtoMessage()
func (*EndChanReply) ProtoReflect ¶
func (x *EndChanReply) ProtoReflect() protoreflect.Message
func (*EndChanReply) Reset ¶
func (x *EndChanReply) Reset()
func (*EndChanReply) String ¶
func (x *EndChanReply) String() string
type EndChanRequest ¶
type EndChanRequest struct {
// contains filtered or unexported fields
}
func (*EndChanRequest) Descriptor
deprecated
func (*EndChanRequest) Descriptor() ([]byte, []int)
Deprecated: Use EndChanRequest.ProtoReflect.Descriptor instead.
func (*EndChanRequest) ProtoMessage ¶
func (*EndChanRequest) ProtoMessage()
func (*EndChanRequest) ProtoReflect ¶
func (x *EndChanRequest) ProtoReflect() protoreflect.Message
func (*EndChanRequest) Reset ¶
func (x *EndChanRequest) Reset()
func (*EndChanRequest) String ¶
func (x *EndChanRequest) String() string
type GetLengthReply ¶
type GetLengthReply struct { LengthSecs float64 `protobuf:"fixed64,1,opt,name=lengthSecs,proto3" json:"lengthSecs,omitempty"` // contains filtered or unexported fields }
func (*GetLengthReply) Descriptor
deprecated
func (*GetLengthReply) Descriptor() ([]byte, []int)
Deprecated: Use GetLengthReply.ProtoReflect.Descriptor instead.
func (*GetLengthReply) GetLengthSecs ¶
func (x *GetLengthReply) GetLengthSecs() float64
func (*GetLengthReply) ProtoMessage ¶
func (*GetLengthReply) ProtoMessage()
func (*GetLengthReply) ProtoReflect ¶
func (x *GetLengthReply) ProtoReflect() protoreflect.Message
func (*GetLengthReply) Reset ¶
func (x *GetLengthReply) Reset()
func (*GetLengthReply) String ¶
func (x *GetLengthReply) String() string
type GetLengthRequest ¶
type GetLengthRequest struct {
// contains filtered or unexported fields
}
func (*GetLengthRequest) Descriptor
deprecated
func (*GetLengthRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLengthRequest.ProtoReflect.Descriptor instead.
func (*GetLengthRequest) ProtoMessage ¶
func (*GetLengthRequest) ProtoMessage()
func (*GetLengthRequest) ProtoReflect ¶
func (x *GetLengthRequest) ProtoReflect() protoreflect.Message
func (*GetLengthRequest) Reset ¶
func (x *GetLengthRequest) Reset()
func (*GetLengthRequest) String ¶
func (x *GetLengthRequest) String() string
type GetLinkReply ¶
type GetLinkReply struct { Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"` // contains filtered or unexported fields }
func (*GetLinkReply) Descriptor
deprecated
func (*GetLinkReply) Descriptor() ([]byte, []int)
Deprecated: Use GetLinkReply.ProtoReflect.Descriptor instead.
func (*GetLinkReply) GetLink ¶
func (x *GetLinkReply) GetLink() string
func (*GetLinkReply) ProtoMessage ¶
func (*GetLinkReply) ProtoMessage()
func (*GetLinkReply) ProtoReflect ¶
func (x *GetLinkReply) ProtoReflect() protoreflect.Message
func (*GetLinkReply) Reset ¶
func (x *GetLinkReply) Reset()
func (*GetLinkReply) String ¶
func (x *GetLinkReply) String() string
type GetLinkRequest ¶
type GetLinkRequest struct {
// contains filtered or unexported fields
}
func (*GetLinkRequest) Descriptor
deprecated
func (*GetLinkRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLinkRequest.ProtoReflect.Descriptor instead.
func (*GetLinkRequest) ProtoMessage ¶
func (*GetLinkRequest) ProtoMessage()
func (*GetLinkRequest) ProtoReflect ¶
func (x *GetLinkRequest) ProtoReflect() protoreflect.Message
func (*GetLinkRequest) Reset ¶
func (x *GetLinkRequest) Reset()
func (*GetLinkRequest) String ¶
func (x *GetLinkRequest) String() string
type GetPauseReply ¶
type GetPauseReply struct { IsPaused bool `protobuf:"varint,1,opt,name=isPaused,proto3" json:"isPaused,omitempty"` // contains filtered or unexported fields }
func (*GetPauseReply) Descriptor
deprecated
func (*GetPauseReply) Descriptor() ([]byte, []int)
Deprecated: Use GetPauseReply.ProtoReflect.Descriptor instead.
func (*GetPauseReply) GetIsPaused ¶
func (x *GetPauseReply) GetIsPaused() bool
func (*GetPauseReply) ProtoMessage ¶
func (*GetPauseReply) ProtoMessage()
func (*GetPauseReply) ProtoReflect ¶
func (x *GetPauseReply) ProtoReflect() protoreflect.Message
func (*GetPauseReply) Reset ¶
func (x *GetPauseReply) Reset()
func (*GetPauseReply) String ¶
func (x *GetPauseReply) String() string
type GetPauseRequest ¶
type GetPauseRequest struct {
// contains filtered or unexported fields
}
func (*GetPauseRequest) Descriptor
deprecated
func (*GetPauseRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPauseRequest.ProtoReflect.Descriptor instead.
func (*GetPauseRequest) ProtoMessage ¶
func (*GetPauseRequest) ProtoMessage()
func (*GetPauseRequest) ProtoReflect ¶
func (x *GetPauseRequest) ProtoReflect() protoreflect.Message
func (*GetPauseRequest) Reset ¶
func (x *GetPauseRequest) Reset()
func (*GetPauseRequest) String ¶
func (x *GetPauseRequest) String() string
type GetPositionReply ¶
type GetPositionReply struct { PositionSecs float64 `protobuf:"fixed64,1,opt,name=positionSecs,proto3" json:"positionSecs,omitempty"` // contains filtered or unexported fields }
func (*GetPositionReply) Descriptor
deprecated
func (*GetPositionReply) Descriptor() ([]byte, []int)
Deprecated: Use GetPositionReply.ProtoReflect.Descriptor instead.
func (*GetPositionReply) GetPositionSecs ¶
func (x *GetPositionReply) GetPositionSecs() float64
func (*GetPositionReply) ProtoMessage ¶
func (*GetPositionReply) ProtoMessage()
func (*GetPositionReply) ProtoReflect ¶
func (x *GetPositionReply) ProtoReflect() protoreflect.Message
func (*GetPositionReply) Reset ¶
func (x *GetPositionReply) Reset()
func (*GetPositionReply) String ¶
func (x *GetPositionReply) String() string
type GetPositionRequest ¶
type GetPositionRequest struct {
// contains filtered or unexported fields
}
func (*GetPositionRequest) Descriptor
deprecated
func (*GetPositionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPositionRequest.ProtoReflect.Descriptor instead.
func (*GetPositionRequest) ProtoMessage ¶
func (*GetPositionRequest) ProtoMessage()
func (*GetPositionRequest) ProtoReflect ¶
func (x *GetPositionRequest) ProtoReflect() protoreflect.Message
func (*GetPositionRequest) Reset ¶
func (x *GetPositionRequest) Reset()
func (*GetPositionRequest) String ¶
func (x *GetPositionRequest) String() string
type GetSpeedReply ¶
type GetSpeedReply struct { Speed float64 `protobuf:"fixed64,1,opt,name=speed,proto3" json:"speed,omitempty"` // contains filtered or unexported fields }
func (*GetSpeedReply) Descriptor
deprecated
func (*GetSpeedReply) Descriptor() ([]byte, []int)
Deprecated: Use GetSpeedReply.ProtoReflect.Descriptor instead.
func (*GetSpeedReply) GetSpeed ¶
func (x *GetSpeedReply) GetSpeed() float64
func (*GetSpeedReply) ProtoMessage ¶
func (*GetSpeedReply) ProtoMessage()
func (*GetSpeedReply) ProtoReflect ¶
func (x *GetSpeedReply) ProtoReflect() protoreflect.Message
func (*GetSpeedReply) Reset ¶
func (x *GetSpeedReply) Reset()
func (*GetSpeedReply) String ¶
func (x *GetSpeedReply) String() string
type GetSpeedRequest ¶
type GetSpeedRequest struct {
// contains filtered or unexported fields
}
func (*GetSpeedRequest) Descriptor
deprecated
func (*GetSpeedRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSpeedRequest.ProtoReflect.Descriptor instead.
func (*GetSpeedRequest) ProtoMessage ¶
func (*GetSpeedRequest) ProtoMessage()
func (*GetSpeedRequest) ProtoReflect ¶
func (x *GetSpeedRequest) ProtoReflect() protoreflect.Message
func (*GetSpeedRequest) Reset ¶
func (x *GetSpeedRequest) Reset()
func (*GetSpeedRequest) String ¶
func (x *GetSpeedRequest) String() string
type IsEndedReply ¶
type IsEndedReply struct { IsEnded bool `protobuf:"varint,1,opt,name=isEnded,proto3" json:"isEnded,omitempty"` // contains filtered or unexported fields }
func (*IsEndedReply) Descriptor
deprecated
func (*IsEndedReply) Descriptor() ([]byte, []int)
Deprecated: Use IsEndedReply.ProtoReflect.Descriptor instead.
func (*IsEndedReply) GetIsEnded ¶
func (x *IsEndedReply) GetIsEnded() bool
func (*IsEndedReply) ProtoMessage ¶
func (*IsEndedReply) ProtoMessage()
func (*IsEndedReply) ProtoReflect ¶
func (x *IsEndedReply) ProtoReflect() protoreflect.Message
func (*IsEndedReply) Reset ¶
func (x *IsEndedReply) Reset()
func (*IsEndedReply) String ¶
func (x *IsEndedReply) String() string
type IsEndedRequest ¶
type IsEndedRequest struct {
// contains filtered or unexported fields
}
func (*IsEndedRequest) Descriptor
deprecated
func (*IsEndedRequest) Descriptor() ([]byte, []int)
Deprecated: Use IsEndedRequest.ProtoReflect.Descriptor instead.
func (*IsEndedRequest) ProtoMessage ¶
func (*IsEndedRequest) ProtoMessage()
func (*IsEndedRequest) ProtoReflect ¶
func (x *IsEndedRequest) ProtoReflect() protoreflect.Message
func (*IsEndedRequest) Reset ¶
func (x *IsEndedRequest) Reset()
func (*IsEndedRequest) String ¶
func (x *IsEndedRequest) String() string
type LoggingLevel ¶
type LoggingLevel int32
const ( LoggingLevel_LoggingLevelNone LoggingLevel = 0 LoggingLevel_LoggingLevelFatal LoggingLevel = 1 LoggingLevel_LoggingLevelPanic LoggingLevel = 2 LoggingLevel_LoggingLevelError LoggingLevel = 3 LoggingLevel_LoggingLevelWarn LoggingLevel = 4 LoggingLevel_LoggingLevelInfo LoggingLevel = 5 LoggingLevel_LoggingLevelDebug LoggingLevel = 6 LoggingLevel_LoggingLevelTrace LoggingLevel = 7 )
func (LoggingLevel) Descriptor ¶
func (LoggingLevel) Descriptor() protoreflect.EnumDescriptor
func (LoggingLevel) Enum ¶
func (x LoggingLevel) Enum() *LoggingLevel
func (LoggingLevel) EnumDescriptor
deprecated
func (LoggingLevel) EnumDescriptor() ([]byte, []int)
Deprecated: Use LoggingLevel.Descriptor instead.
func (LoggingLevel) Number ¶
func (x LoggingLevel) Number() protoreflect.EnumNumber
func (LoggingLevel) String ¶
func (x LoggingLevel) String() string
func (LoggingLevel) Type ¶
func (LoggingLevel) Type() protoreflect.EnumType
type OpenReply ¶
type OpenReply struct {
// contains filtered or unexported fields
}
func (*OpenReply) Descriptor
deprecated
func (*OpenReply) ProtoMessage ¶
func (*OpenReply) ProtoMessage()
func (*OpenReply) ProtoReflect ¶
func (x *OpenReply) ProtoReflect() protoreflect.Message
type OpenRequest ¶
type OpenRequest struct { Link string `protobuf:"bytes,1,opt,name=link,proto3" json:"link,omitempty"` Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"` LoggingLevel LoggingLevel `protobuf:"varint,3,opt,name=loggingLevel,proto3,enum=player.LoggingLevel" json:"loggingLevel,omitempty"` // contains filtered or unexported fields }
func (*OpenRequest) Descriptor
deprecated
func (*OpenRequest) Descriptor() ([]byte, []int)
Deprecated: Use OpenRequest.ProtoReflect.Descriptor instead.
func (*OpenRequest) GetLink ¶
func (x *OpenRequest) GetLink() string
func (*OpenRequest) GetLoggingLevel ¶
func (x *OpenRequest) GetLoggingLevel() LoggingLevel
func (*OpenRequest) GetTitle ¶
func (x *OpenRequest) GetTitle() string
func (*OpenRequest) ProtoMessage ¶
func (*OpenRequest) ProtoMessage()
func (*OpenRequest) ProtoReflect ¶
func (x *OpenRequest) ProtoReflect() protoreflect.Message
func (*OpenRequest) Reset ¶
func (x *OpenRequest) Reset()
func (*OpenRequest) String ¶
func (x *OpenRequest) String() string
type PlayerClient ¶
type PlayerClient interface { Open(ctx context.Context, in *OpenRequest, opts ...grpc.CallOption) (*OpenReply, error) SetupForStreaming(ctx context.Context, in *SetupForStreamingRequest, opts ...grpc.CallOption) (*SetupForStreamingReply, error) ProcessTitle(ctx context.Context, in *ProcessTitleRequest, opts ...grpc.CallOption) (*ProcessTitleReply, error) GetLink(ctx context.Context, in *GetLinkRequest, opts ...grpc.CallOption) (*GetLinkReply, error) EndChan(ctx context.Context, in *EndChanRequest, opts ...grpc.CallOption) (Player_EndChanClient, error) IsEnded(ctx context.Context, in *IsEndedRequest, opts ...grpc.CallOption) (*IsEndedReply, error) GetPosition(ctx context.Context, in *GetPositionRequest, opts ...grpc.CallOption) (*GetPositionReply, error) GetLength(ctx context.Context, in *GetLengthRequest, opts ...grpc.CallOption) (*GetLengthReply, error) GetSpeed(ctx context.Context, in *GetSpeedRequest, opts ...grpc.CallOption) (*GetSpeedReply, error) SetSpeed(ctx context.Context, in *SetSpeedRequest, opts ...grpc.CallOption) (*SetSpeedReply, error) GetPause(ctx context.Context, in *GetPauseRequest, opts ...grpc.CallOption) (*GetPauseReply, error) SetPause(ctx context.Context, in *SetPauseRequest, opts ...grpc.CallOption) (*SetPauseReply, error) Stop(ctx context.Context, in *StopRequest, opts ...grpc.CallOption) (*StopReply, error) Close(ctx context.Context, in *CloseRequest, opts ...grpc.CallOption) (*CloseReply, error) }
PlayerClient is the client API for Player 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 NewPlayerClient ¶
func NewPlayerClient(cc grpc.ClientConnInterface) PlayerClient
type PlayerServer ¶
type PlayerServer interface { Open(context.Context, *OpenRequest) (*OpenReply, error) SetupForStreaming(context.Context, *SetupForStreamingRequest) (*SetupForStreamingReply, error) ProcessTitle(context.Context, *ProcessTitleRequest) (*ProcessTitleReply, error) GetLink(context.Context, *GetLinkRequest) (*GetLinkReply, error) EndChan(*EndChanRequest, Player_EndChanServer) error IsEnded(context.Context, *IsEndedRequest) (*IsEndedReply, error) GetPosition(context.Context, *GetPositionRequest) (*GetPositionReply, error) GetLength(context.Context, *GetLengthRequest) (*GetLengthReply, error) GetSpeed(context.Context, *GetSpeedRequest) (*GetSpeedReply, error) SetSpeed(context.Context, *SetSpeedRequest) (*SetSpeedReply, error) GetPause(context.Context, *GetPauseRequest) (*GetPauseReply, error) SetPause(context.Context, *SetPauseRequest) (*SetPauseReply, error) Stop(context.Context, *StopRequest) (*StopReply, error) Close(context.Context, *CloseRequest) (*CloseReply, error) // contains filtered or unexported methods }
PlayerServer is the server API for Player service. All implementations must embed UnimplementedPlayerServer for forward compatibility
type Player_EndChanClient ¶
type Player_EndChanClient interface { Recv() (*EndChanReply, error) grpc.ClientStream }
type Player_EndChanServer ¶
type Player_EndChanServer interface { Send(*EndChanReply) error grpc.ServerStream }
type ProcessTitleReply ¶
type ProcessTitleReply struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` // contains filtered or unexported fields }
func (*ProcessTitleReply) Descriptor
deprecated
func (*ProcessTitleReply) Descriptor() ([]byte, []int)
Deprecated: Use ProcessTitleReply.ProtoReflect.Descriptor instead.
func (*ProcessTitleReply) GetTitle ¶
func (x *ProcessTitleReply) GetTitle() string
func (*ProcessTitleReply) ProtoMessage ¶
func (*ProcessTitleReply) ProtoMessage()
func (*ProcessTitleReply) ProtoReflect ¶
func (x *ProcessTitleReply) ProtoReflect() protoreflect.Message
func (*ProcessTitleReply) Reset ¶
func (x *ProcessTitleReply) Reset()
func (*ProcessTitleReply) String ¶
func (x *ProcessTitleReply) String() string
type ProcessTitleRequest ¶
type ProcessTitleRequest struct {
// contains filtered or unexported fields
}
func (*ProcessTitleRequest) Descriptor
deprecated
func (*ProcessTitleRequest) Descriptor() ([]byte, []int)
Deprecated: Use ProcessTitleRequest.ProtoReflect.Descriptor instead.
func (*ProcessTitleRequest) ProtoMessage ¶
func (*ProcessTitleRequest) ProtoMessage()
func (*ProcessTitleRequest) ProtoReflect ¶
func (x *ProcessTitleRequest) ProtoReflect() protoreflect.Message
func (*ProcessTitleRequest) Reset ¶
func (x *ProcessTitleRequest) Reset()
func (*ProcessTitleRequest) String ¶
func (x *ProcessTitleRequest) String() string
type SetPauseReply ¶
type SetPauseReply struct {
// contains filtered or unexported fields
}
func (*SetPauseReply) Descriptor
deprecated
func (*SetPauseReply) Descriptor() ([]byte, []int)
Deprecated: Use SetPauseReply.ProtoReflect.Descriptor instead.
func (*SetPauseReply) ProtoMessage ¶
func (*SetPauseReply) ProtoMessage()
func (*SetPauseReply) ProtoReflect ¶
func (x *SetPauseReply) ProtoReflect() protoreflect.Message
func (*SetPauseReply) Reset ¶
func (x *SetPauseReply) Reset()
func (*SetPauseReply) String ¶
func (x *SetPauseReply) String() string
type SetPauseRequest ¶
type SetPauseRequest struct { IsPaused bool `protobuf:"varint,1,opt,name=isPaused,proto3" json:"isPaused,omitempty"` // contains filtered or unexported fields }
func (*SetPauseRequest) Descriptor
deprecated
func (*SetPauseRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetPauseRequest.ProtoReflect.Descriptor instead.
func (*SetPauseRequest) GetIsPaused ¶
func (x *SetPauseRequest) GetIsPaused() bool
func (*SetPauseRequest) ProtoMessage ¶
func (*SetPauseRequest) ProtoMessage()
func (*SetPauseRequest) ProtoReflect ¶
func (x *SetPauseRequest) ProtoReflect() protoreflect.Message
func (*SetPauseRequest) Reset ¶
func (x *SetPauseRequest) Reset()
func (*SetPauseRequest) String ¶
func (x *SetPauseRequest) String() string
type SetSpeedReply ¶
type SetSpeedReply struct {
// contains filtered or unexported fields
}
func (*SetSpeedReply) Descriptor
deprecated
func (*SetSpeedReply) Descriptor() ([]byte, []int)
Deprecated: Use SetSpeedReply.ProtoReflect.Descriptor instead.
func (*SetSpeedReply) ProtoMessage ¶
func (*SetSpeedReply) ProtoMessage()
func (*SetSpeedReply) ProtoReflect ¶
func (x *SetSpeedReply) ProtoReflect() protoreflect.Message
func (*SetSpeedReply) Reset ¶
func (x *SetSpeedReply) Reset()
func (*SetSpeedReply) String ¶
func (x *SetSpeedReply) String() string
type SetSpeedRequest ¶
type SetSpeedRequest struct { Speed float64 `protobuf:"fixed64,1,opt,name=speed,proto3" json:"speed,omitempty"` // contains filtered or unexported fields }
func (*SetSpeedRequest) Descriptor
deprecated
func (*SetSpeedRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetSpeedRequest.ProtoReflect.Descriptor instead.
func (*SetSpeedRequest) GetSpeed ¶
func (x *SetSpeedRequest) GetSpeed() float64
func (*SetSpeedRequest) ProtoMessage ¶
func (*SetSpeedRequest) ProtoMessage()
func (*SetSpeedRequest) ProtoReflect ¶
func (x *SetSpeedRequest) ProtoReflect() protoreflect.Message
func (*SetSpeedRequest) Reset ¶
func (x *SetSpeedRequest) Reset()
func (*SetSpeedRequest) String ¶
func (x *SetSpeedRequest) String() string
type SetupForStreamingReply ¶
type SetupForStreamingReply struct {
// contains filtered or unexported fields
}
func (*SetupForStreamingReply) Descriptor
deprecated
func (*SetupForStreamingReply) Descriptor() ([]byte, []int)
Deprecated: Use SetupForStreamingReply.ProtoReflect.Descriptor instead.
func (*SetupForStreamingReply) ProtoMessage ¶
func (*SetupForStreamingReply) ProtoMessage()
func (*SetupForStreamingReply) ProtoReflect ¶
func (x *SetupForStreamingReply) ProtoReflect() protoreflect.Message
func (*SetupForStreamingReply) Reset ¶
func (x *SetupForStreamingReply) Reset()
func (*SetupForStreamingReply) String ¶
func (x *SetupForStreamingReply) String() string
type SetupForStreamingRequest ¶
type SetupForStreamingRequest struct {
// contains filtered or unexported fields
}
func (*SetupForStreamingRequest) Descriptor
deprecated
func (*SetupForStreamingRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetupForStreamingRequest.ProtoReflect.Descriptor instead.
func (*SetupForStreamingRequest) ProtoMessage ¶
func (*SetupForStreamingRequest) ProtoMessage()
func (*SetupForStreamingRequest) ProtoReflect ¶
func (x *SetupForStreamingRequest) ProtoReflect() protoreflect.Message
func (*SetupForStreamingRequest) Reset ¶
func (x *SetupForStreamingRequest) Reset()
func (*SetupForStreamingRequest) String ¶
func (x *SetupForStreamingRequest) String() string
type StopReply ¶
type StopReply struct {
// contains filtered or unexported fields
}
func (*StopReply) Descriptor
deprecated
func (*StopReply) ProtoMessage ¶
func (*StopReply) ProtoMessage()
func (*StopReply) ProtoReflect ¶
func (x *StopReply) ProtoReflect() protoreflect.Message
type StopRequest ¶
type StopRequest struct {
// contains filtered or unexported fields
}
func (*StopRequest) Descriptor
deprecated
func (*StopRequest) Descriptor() ([]byte, []int)
Deprecated: Use StopRequest.ProtoReflect.Descriptor instead.
func (*StopRequest) ProtoMessage ¶
func (*StopRequest) ProtoMessage()
func (*StopRequest) ProtoReflect ¶
func (x *StopRequest) ProtoReflect() protoreflect.Message
func (*StopRequest) Reset ¶
func (x *StopRequest) Reset()
func (*StopRequest) String ¶
func (x *StopRequest) String() string
type UnimplementedPlayerServer ¶
type UnimplementedPlayerServer struct { }
UnimplementedPlayerServer must be embedded to have forward compatible implementations.
func (UnimplementedPlayerServer) Close ¶
func (UnimplementedPlayerServer) Close(context.Context, *CloseRequest) (*CloseReply, error)
func (UnimplementedPlayerServer) EndChan ¶
func (UnimplementedPlayerServer) EndChan(*EndChanRequest, Player_EndChanServer) error
func (UnimplementedPlayerServer) GetLength ¶
func (UnimplementedPlayerServer) GetLength(context.Context, *GetLengthRequest) (*GetLengthReply, error)
func (UnimplementedPlayerServer) GetLink ¶
func (UnimplementedPlayerServer) GetLink(context.Context, *GetLinkRequest) (*GetLinkReply, error)
func (UnimplementedPlayerServer) GetPause ¶
func (UnimplementedPlayerServer) GetPause(context.Context, *GetPauseRequest) (*GetPauseReply, error)
func (UnimplementedPlayerServer) GetPosition ¶
func (UnimplementedPlayerServer) GetPosition(context.Context, *GetPositionRequest) (*GetPositionReply, error)
func (UnimplementedPlayerServer) GetSpeed ¶
func (UnimplementedPlayerServer) GetSpeed(context.Context, *GetSpeedRequest) (*GetSpeedReply, error)
func (UnimplementedPlayerServer) IsEnded ¶
func (UnimplementedPlayerServer) IsEnded(context.Context, *IsEndedRequest) (*IsEndedReply, error)
func (UnimplementedPlayerServer) Open ¶
func (UnimplementedPlayerServer) Open(context.Context, *OpenRequest) (*OpenReply, error)
func (UnimplementedPlayerServer) ProcessTitle ¶
func (UnimplementedPlayerServer) ProcessTitle(context.Context, *ProcessTitleRequest) (*ProcessTitleReply, error)
func (UnimplementedPlayerServer) SetPause ¶
func (UnimplementedPlayerServer) SetPause(context.Context, *SetPauseRequest) (*SetPauseReply, error)
func (UnimplementedPlayerServer) SetSpeed ¶
func (UnimplementedPlayerServer) SetSpeed(context.Context, *SetSpeedRequest) (*SetSpeedReply, error)
func (UnimplementedPlayerServer) SetupForStreaming ¶
func (UnimplementedPlayerServer) SetupForStreaming(context.Context, *SetupForStreamingRequest) (*SetupForStreamingReply, error)
func (UnimplementedPlayerServer) Stop ¶
func (UnimplementedPlayerServer) Stop(context.Context, *StopRequest) (*StopReply, error)
type UnsafePlayerServer ¶
type UnsafePlayerServer interface {
// contains filtered or unexported methods
}
UnsafePlayerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PlayerServer will result in compilation errors.