Versions in this module Expand all Collapse all v0 v0.0.5 Dec 14, 2020 v0.0.4 Nov 3, 2020 Changes in this version + var File_control_proto protoreflect.FileDescriptor type Chunk + func (x *Chunk) ProtoReflect() protoreflect.Message type Empty + func (x *Empty) ProtoReflect() protoreflect.Message type Item + func (x *Item) ProtoReflect() protoreflect.Message type Item_DataType + func (Item_DataType) Descriptor() protoreflect.EnumDescriptor + func (Item_DataType) Type() protoreflect.EnumType + func (x Item_DataType) Enum() *Item_DataType + func (x Item_DataType) Number() protoreflect.EnumNumber type Response + func (x *Response) ProtoReflect() protoreflect.Message type Response_Status + func (Response_Status) Descriptor() protoreflect.EnumDescriptor + func (Response_Status) Type() protoreflect.EnumType + func (x Response_Status) Enum() *Response_Status + func (x Response_Status) Number() protoreflect.EnumNumber + type UnimplementedPDPControlServer struct + func (*UnimplementedPDPControlServer) Apply(context.Context, *Update) (*Response, error) + func (*UnimplementedPDPControlServer) NotifyReady(context.Context, *Empty) (*Response, error) + func (*UnimplementedPDPControlServer) Request(context.Context, *Item) (*Response, error) + func (*UnimplementedPDPControlServer) Upload(PDPControl_UploadServer) error type Update + func (x *Update) ProtoReflect() protoreflect.Message v0.0.3 Jan 20, 2020 v0.0.2 Nov 22, 2019 v0.0.1 Oct 10, 2019 Changes in this version + var Item_DataType_name = map[int32]string + var Item_DataType_value = map[string]int32 + var Response_Status_name = map[int32]string + var Response_Status_value = map[string]int32 + func RegisterPDPControlServer(s *grpc.Server, srv PDPControlServer) + type Chunk struct + Data string + Id int32 + func (*Chunk) Descriptor() ([]byte, []int) + func (*Chunk) ProtoMessage() + func (m *Chunk) GetData() string + func (m *Chunk) GetId() int32 + func (m *Chunk) Reset() + func (m *Chunk) String() string + type Empty struct + func (*Empty) Descriptor() ([]byte, []int) + func (*Empty) ProtoMessage() + func (m *Empty) Reset() + func (m *Empty) String() string + type Item struct + FromTag string + Id string + ToTag string + Type Item_DataType + func (*Item) Descriptor() ([]byte, []int) + func (*Item) ProtoMessage() + func (m *Item) GetFromTag() string + func (m *Item) GetId() string + func (m *Item) GetToTag() string + func (m *Item) GetType() Item_DataType + func (m *Item) Reset() + func (m *Item) String() string + type Item_DataType int32 + const Item_CONTENT + const Item_POLICIES + func (Item_DataType) EnumDescriptor() ([]byte, []int) + func (x Item_DataType) String() string + type PDPControlClient interface + Apply func(ctx context.Context, in *Update, opts ...grpc.CallOption) (*Response, error) + NotifyReady func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Response, error) + Request func(ctx context.Context, in *Item, opts ...grpc.CallOption) (*Response, error) + Upload func(ctx context.Context, opts ...grpc.CallOption) (PDPControl_UploadClient, error) + func NewPDPControlClient(cc *grpc.ClientConn) PDPControlClient + type PDPControlServer interface + Apply func(context.Context, *Update) (*Response, error) + NotifyReady func(context.Context, *Empty) (*Response, error) + Request func(context.Context, *Item) (*Response, error) + Upload func(PDPControl_UploadServer) error + type PDPControl_UploadClient interface + CloseAndRecv func() (*Response, error) + Send func(*Chunk) error + type PDPControl_UploadServer interface + Recv func() (*Chunk, error) + SendAndClose func(*Response) error + type Response struct + Details string + Id int32 + Status Response_Status + func (*Response) Descriptor() ([]byte, []int) + func (*Response) ProtoMessage() + func (m *Response) GetDetails() string + func (m *Response) GetId() int32 + func (m *Response) GetStatus() Response_Status + func (m *Response) Reset() + func (m *Response) String() string + type Response_Status int32 + const Response_ACK + const Response_ERROR + const Response_TAG_ERROR + func (Response_Status) EnumDescriptor() ([]byte, []int) + func (x Response_Status) String() string + type Update struct + Id int32 + func (*Update) Descriptor() ([]byte, []int) + func (*Update) ProtoMessage() + func (m *Update) GetId() int32 + func (m *Update) Reset() + func (m *Update) String() string