rtbf

package
v2.37.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 8, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_strmprivacy_api_rtbf_v1_rtbf_v1_proto protoreflect.FileDescriptor
View Source
var RtbfService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "strmprivacy.api.rtbf.v1.RtbfService",
	HandlerType: (*RtbfServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetKeyLinks",
			Handler:    _RtbfService_GetKeyLinks_Handler,
		},
		{
			MethodName: "GetRtbfs",
			Handler:    _RtbfService_GetRtbfs_Handler,
		},
		{
			MethodName: "AddKey",
			Handler:    _RtbfService_AddKey_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "strmprivacy/api/rtbf/v1/rtbf_v1.proto",
}

RtbfService_ServiceDesc is the grpc.ServiceDesc for RtbfService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterRtbfServiceServer

func RegisterRtbfServiceServer(s grpc.ServiceRegistrar, srv RtbfServiceServer)

Types

type AddKeyRequest

type AddKeyRequest struct {
	RtbfId        string `protobuf:"bytes,1,opt,name=rtbf_id,json=rtbfId,proto3" json:"rtbf_id,omitempty"`
	KeyLink       string `protobuf:"bytes,2,opt,name=key_link,json=keyLink,proto3" json:"key_link,omitempty"`
	RtbfLink      string `protobuf:"bytes,3,opt,name=rtbf_link,json=rtbfLink,proto3" json:"rtbf_link,omitempty"`
	EncryptionKey string `protobuf:"bytes,4,opt,name=encryption_key,json=encryptionKey,proto3" json:"encryption_key,omitempty"`
	// contains filtered or unexported fields
}

func (*AddKeyRequest) Descriptor deprecated

func (*AddKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddKeyRequest.ProtoReflect.Descriptor instead.

func (*AddKeyRequest) GetEncryptionKey

func (x *AddKeyRequest) GetEncryptionKey() string
func (x *AddKeyRequest) GetKeyLink() string

func (*AddKeyRequest) GetRtbfId

func (x *AddKeyRequest) GetRtbfId() string
func (x *AddKeyRequest) GetRtbfLink() string

func (*AddKeyRequest) ProtoMessage

func (*AddKeyRequest) ProtoMessage()

func (*AddKeyRequest) ProtoReflect

func (x *AddKeyRequest) ProtoReflect() protoreflect.Message

func (*AddKeyRequest) Reset

func (x *AddKeyRequest) Reset()

func (*AddKeyRequest) String

func (x *AddKeyRequest) String() string

type AddKeyResponse

type AddKeyResponse struct {
	// contains filtered or unexported fields
}

func (*AddKeyResponse) Descriptor deprecated

func (*AddKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddKeyResponse.ProtoReflect.Descriptor instead.

func (*AddKeyResponse) ProtoMessage

func (*AddKeyResponse) ProtoMessage()

func (*AddKeyResponse) ProtoReflect

func (x *AddKeyResponse) ProtoReflect() protoreflect.Message

func (*AddKeyResponse) Reset

func (x *AddKeyResponse) Reset()

func (*AddKeyResponse) String

func (x *AddKeyResponse) String() string

type GetKeyLinksRequest

type GetKeyLinksRequest struct {
	RtbfId string `protobuf:"bytes,1,opt,name=rtbf_id,json=rtbfId,proto3" json:"rtbf_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetKeyLinksRequest) Descriptor deprecated

func (*GetKeyLinksRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetKeyLinksRequest.ProtoReflect.Descriptor instead.

func (*GetKeyLinksRequest) GetRtbfId

func (x *GetKeyLinksRequest) GetRtbfId() string

func (*GetKeyLinksRequest) ProtoMessage

func (*GetKeyLinksRequest) ProtoMessage()

func (*GetKeyLinksRequest) ProtoReflect

func (x *GetKeyLinksRequest) ProtoReflect() protoreflect.Message

func (*GetKeyLinksRequest) Reset

func (x *GetKeyLinksRequest) Reset()

func (*GetKeyLinksRequest) String

func (x *GetKeyLinksRequest) String() string

type GetKeyLinksResponse

type GetKeyLinksResponse struct {
	RtbfId   string   `protobuf:"bytes,1,opt,name=rtbf_id,json=rtbfId,proto3" json:"rtbf_id,omitempty"`
	KeyLinks []string `protobuf:"bytes,2,rep,name=key_links,json=keyLinks,proto3" json:"key_links,omitempty"`
	// contains filtered or unexported fields
}

func (*GetKeyLinksResponse) Descriptor deprecated

func (*GetKeyLinksResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetKeyLinksResponse.ProtoReflect.Descriptor instead.

func (x *GetKeyLinksResponse) GetKeyLinks() []string

func (*GetKeyLinksResponse) GetRtbfId

func (x *GetKeyLinksResponse) GetRtbfId() string

func (*GetKeyLinksResponse) ProtoMessage

func (*GetKeyLinksResponse) ProtoMessage()

func (*GetKeyLinksResponse) ProtoReflect

func (x *GetKeyLinksResponse) ProtoReflect() protoreflect.Message

func (*GetKeyLinksResponse) Reset

func (x *GetKeyLinksResponse) Reset()

func (*GetKeyLinksResponse) String

func (x *GetKeyLinksResponse) String() string

type GetRtbfsRequest

type GetRtbfsRequest struct {
	RtbfId string `protobuf:"bytes,1,opt,name=rtbf_id,json=rtbfId,proto3" json:"rtbf_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRtbfsRequest) Descriptor deprecated

func (*GetRtbfsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetRtbfsRequest.ProtoReflect.Descriptor instead.

func (*GetRtbfsRequest) GetRtbfId

func (x *GetRtbfsRequest) GetRtbfId() string

func (*GetRtbfsRequest) ProtoMessage

func (*GetRtbfsRequest) ProtoMessage()

func (*GetRtbfsRequest) ProtoReflect

func (x *GetRtbfsRequest) ProtoReflect() protoreflect.Message

func (*GetRtbfsRequest) Reset

func (x *GetRtbfsRequest) Reset()

func (*GetRtbfsRequest) String

func (x *GetRtbfsRequest) String() string

type GetRtbfsResponse

type GetRtbfsResponse struct {
	RtbfId string   `protobuf:"bytes,1,opt,name=rtbf_id,json=rtbfId,proto3" json:"rtbf_id,omitempty"`
	Rtbf   []string `protobuf:"bytes,2,rep,name=rtbf,proto3" json:"rtbf,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRtbfsResponse) Descriptor deprecated

func (*GetRtbfsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetRtbfsResponse.ProtoReflect.Descriptor instead.

func (*GetRtbfsResponse) GetRtbf

func (x *GetRtbfsResponse) GetRtbf() []string

func (*GetRtbfsResponse) GetRtbfId

func (x *GetRtbfsResponse) GetRtbfId() string

func (*GetRtbfsResponse) ProtoMessage

func (*GetRtbfsResponse) ProtoMessage()

func (*GetRtbfsResponse) ProtoReflect

func (x *GetRtbfsResponse) ProtoReflect() protoreflect.Message

func (*GetRtbfsResponse) Reset

func (x *GetRtbfsResponse) Reset()

func (*GetRtbfsResponse) String

func (x *GetRtbfsResponse) String() string

type RtbfServiceClient

type RtbfServiceClient interface {
	GetKeyLinks(ctx context.Context, in *GetKeyLinksRequest, opts ...grpc.CallOption) (*GetKeyLinksResponse, error)
	GetRtbfs(ctx context.Context, in *GetRtbfsRequest, opts ...grpc.CallOption) (*GetRtbfsResponse, error)
	AddKey(ctx context.Context, in *AddKeyRequest, opts ...grpc.CallOption) (*AddKeyResponse, error)
}

RtbfServiceClient is the client API for RtbfService 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.

type RtbfServiceServer

type RtbfServiceServer interface {
	GetKeyLinks(context.Context, *GetKeyLinksRequest) (*GetKeyLinksResponse, error)
	GetRtbfs(context.Context, *GetRtbfsRequest) (*GetRtbfsResponse, error)
	AddKey(context.Context, *AddKeyRequest) (*AddKeyResponse, error)
	// contains filtered or unexported methods
}

RtbfServiceServer is the server API for RtbfService service. All implementations must embed UnimplementedRtbfServiceServer for forward compatibility

type UnimplementedRtbfServiceServer

type UnimplementedRtbfServiceServer struct {
}

UnimplementedRtbfServiceServer must be embedded to have forward compatible implementations.

func (UnimplementedRtbfServiceServer) AddKey

func (UnimplementedRtbfServiceServer) GetRtbfs

type UnsafeRtbfServiceServer

type UnsafeRtbfServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeRtbfServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RtbfServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL