service

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2020 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Overview

Package service is a generated protocol buffer package.

It is generated from these files:

service.proto

It has these top-level messages:

Msg

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterPDPServer

func RegisterPDPServer(s *grpc.Server, srv PDPServer)

Types

type Msg

type Msg struct {
	Body []byte `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
}

func (*Msg) Descriptor

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

func (*Msg) GetBody

func (m *Msg) GetBody() []byte

func (*Msg) ProtoMessage

func (*Msg) ProtoMessage()

func (*Msg) Reset

func (m *Msg) Reset()

func (*Msg) String

func (m *Msg) String() string

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)
}

func NewPDPClient

func NewPDPClient(cc *grpc.ClientConn) PDPClient

type PDPServer

type PDPServer interface {
	Validate(context.Context, *Msg) (*Msg, error)
	NewValidationStream(PDP_NewValidationStreamServer) error
}

type PDP_NewValidationStreamClient

type PDP_NewValidationStreamClient interface {
	Send(*Msg) error
	Recv() (*Msg, error)
	grpc.ClientStream
}

type PDP_NewValidationStreamServer

type PDP_NewValidationStreamServer interface {
	Send(*Msg) error
	Recv() (*Msg, error)
	grpc.ServerStream
}

Jump to

Keyboard shortcuts

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