Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var File_service_proto protoreflect.FileDescriptor
Functions ¶
func RegisterPDPServer ¶
Types ¶
type Msg ¶
type Msg struct { Body []byte `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"` // contains filtered or unexported fields }
func (*Msg) Descriptor
deprecated
func (*Msg) ProtoMessage ¶
func (*Msg) ProtoMessage()
func (*Msg) ProtoReflect ¶ added in v0.0.4
func (x *Msg) ProtoReflect() protoreflect.Message
type PDPClient ¶
type PDPClient interface { Validate(ctx context.Context, in *Msg, opts ...grpc.CallOption) (*Msg, error) NewValidationStream(ctx context.Context, opts ...grpc.CallOption) (PDP_NewValidationStreamClient, error) }
PDPClient is the client API for PDP service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPDPClient ¶
func NewPDPClient(cc grpc.ClientConnInterface) PDPClient
type PDPServer ¶
type PDPServer interface { Validate(context.Context, *Msg) (*Msg, error) NewValidationStream(PDP_NewValidationStreamServer) error }
PDPServer is the server API for PDP service.
type UnimplementedPDPServer ¶ added in v0.0.4
type UnimplementedPDPServer struct { }
UnimplementedPDPServer can be embedded to have forward compatible implementations.
func (*UnimplementedPDPServer) NewValidationStream ¶ added in v0.0.4
func (*UnimplementedPDPServer) NewValidationStream(PDP_NewValidationStreamServer) error
Click to show internal directories.
Click to hide internal directories.