Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterMkvUtilServiceServer(s grpc.ServiceRegistrar, srv MkvUtilServiceServer)
- type MkvUtilServiceClient
- type MkvUtilServiceServer
- type UnimplementedMkvUtilServiceServer
- func (UnimplementedMkvUtilServiceServer) Concat(context.Context, *v1.ConcatRequest) (*v1.ConcatResponse, error)
- func (UnimplementedMkvUtilServiceServer) GetChapters(context.Context, *v1.GetChaptersRequest) (*v1.GetChaptersResponse, error)
- func (UnimplementedMkvUtilServiceServer) GetFileSize(context.Context, *v1.GetFileSizeRequest) (*v1.GetFileSizeResponse, error)
- func (UnimplementedMkvUtilServiceServer) GetInfo(context.Context, *v1.GetInfoRequest) (*v1.GetInfoResponse, error)
- func (UnimplementedMkvUtilServiceServer) RunMkvToolNixCommand(context.Context, *v1.RunMkvToolNixCommandRequest) (*v1.RunMkvToolNixCommandResponse, error)
- func (UnimplementedMkvUtilServiceServer) Split(context.Context, *v1.SplitRequest) (*v1.SplitResponse, error)
- type UnsafeMkvUtilServiceServer
Constants ¶
const ( MkvUtilService_GetFileSize_FullMethodName = "/krelinga.video.mkv_util_server.v1.MkvUtilService/GetFileSize" MkvUtilService_RunMkvToolNixCommand_FullMethodName = "/krelinga.video.mkv_util_server.v1.MkvUtilService/RunMkvToolNixCommand" MkvUtilService_Concat_FullMethodName = "/krelinga.video.mkv_util_server.v1.MkvUtilService/Concat" MkvUtilService_GetChapters_FullMethodName = "/krelinga.video.mkv_util_server.v1.MkvUtilService/GetChapters" MkvUtilService_GetInfo_FullMethodName = "/krelinga.video.mkv_util_server.v1.MkvUtilService/GetInfo" MkvUtilService_Split_FullMethodName = "/krelinga.video.mkv_util_server.v1.MkvUtilService/Split" )
Variables ¶
var MkvUtilService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "krelinga.video.mkv_util_server.v1.MkvUtilService", HandlerType: (*MkvUtilServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetFileSize", Handler: _MkvUtilService_GetFileSize_Handler, }, { MethodName: "RunMkvToolNixCommand", Handler: _MkvUtilService_RunMkvToolNixCommand_Handler, }, { MethodName: "Concat", Handler: _MkvUtilService_Concat_Handler, }, { MethodName: "GetChapters", Handler: _MkvUtilService_GetChapters_Handler, }, { MethodName: "GetInfo", Handler: _MkvUtilService_GetInfo_Handler, }, { MethodName: "Split", Handler: _MkvUtilService_Split_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "krelinga/video/mkv_util_server/v1/mkv_util_server.proto", }
MkvUtilService_ServiceDesc is the grpc.ServiceDesc for MkvUtilService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMkvUtilServiceServer ¶
func RegisterMkvUtilServiceServer(s grpc.ServiceRegistrar, srv MkvUtilServiceServer)
Types ¶
type MkvUtilServiceClient ¶
type MkvUtilServiceClient interface { GetFileSize(ctx context.Context, in *v1.GetFileSizeRequest, opts ...grpc.CallOption) (*v1.GetFileSizeResponse, error) RunMkvToolNixCommand(ctx context.Context, in *v1.RunMkvToolNixCommandRequest, opts ...grpc.CallOption) (*v1.RunMkvToolNixCommandResponse, error) Concat(ctx context.Context, in *v1.ConcatRequest, opts ...grpc.CallOption) (*v1.ConcatResponse, error) GetChapters(ctx context.Context, in *v1.GetChaptersRequest, opts ...grpc.CallOption) (*v1.GetChaptersResponse, error) GetInfo(ctx context.Context, in *v1.GetInfoRequest, opts ...grpc.CallOption) (*v1.GetInfoResponse, error) Split(ctx context.Context, in *v1.SplitRequest, opts ...grpc.CallOption) (*v1.SplitResponse, error) }
MkvUtilServiceClient is the client API for MkvUtilService 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 NewMkvUtilServiceClient ¶
func NewMkvUtilServiceClient(cc grpc.ClientConnInterface) MkvUtilServiceClient
type MkvUtilServiceServer ¶
type MkvUtilServiceServer interface { GetFileSize(context.Context, *v1.GetFileSizeRequest) (*v1.GetFileSizeResponse, error) RunMkvToolNixCommand(context.Context, *v1.RunMkvToolNixCommandRequest) (*v1.RunMkvToolNixCommandResponse, error) Concat(context.Context, *v1.ConcatRequest) (*v1.ConcatResponse, error) GetChapters(context.Context, *v1.GetChaptersRequest) (*v1.GetChaptersResponse, error) GetInfo(context.Context, *v1.GetInfoRequest) (*v1.GetInfoResponse, error) Split(context.Context, *v1.SplitRequest) (*v1.SplitResponse, error) }
MkvUtilServiceServer is the server API for MkvUtilService service. All implementations should embed UnimplementedMkvUtilServiceServer for forward compatibility.
type UnimplementedMkvUtilServiceServer ¶
type UnimplementedMkvUtilServiceServer struct{}
UnimplementedMkvUtilServiceServer should 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 (UnimplementedMkvUtilServiceServer) Concat ¶
func (UnimplementedMkvUtilServiceServer) Concat(context.Context, *v1.ConcatRequest) (*v1.ConcatResponse, error)
func (UnimplementedMkvUtilServiceServer) GetChapters ¶
func (UnimplementedMkvUtilServiceServer) GetChapters(context.Context, *v1.GetChaptersRequest) (*v1.GetChaptersResponse, error)
func (UnimplementedMkvUtilServiceServer) GetFileSize ¶
func (UnimplementedMkvUtilServiceServer) GetFileSize(context.Context, *v1.GetFileSizeRequest) (*v1.GetFileSizeResponse, error)
func (UnimplementedMkvUtilServiceServer) GetInfo ¶
func (UnimplementedMkvUtilServiceServer) GetInfo(context.Context, *v1.GetInfoRequest) (*v1.GetInfoResponse, error)
func (UnimplementedMkvUtilServiceServer) RunMkvToolNixCommand ¶
func (UnimplementedMkvUtilServiceServer) RunMkvToolNixCommand(context.Context, *v1.RunMkvToolNixCommandRequest) (*v1.RunMkvToolNixCommandResponse, error)
func (UnimplementedMkvUtilServiceServer) Split ¶
func (UnimplementedMkvUtilServiceServer) Split(context.Context, *v1.SplitRequest) (*v1.SplitResponse, error)
type UnsafeMkvUtilServiceServer ¶
type UnsafeMkvUtilServiceServer interface {
// contains filtered or unexported methods
}
UnsafeMkvUtilServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MkvUtilServiceServer will result in compilation errors.