porust

package
v0.0.0-...-af4edf4 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterPorsServer

func RegisterPorsServer(s *grpc.Server, srv PorsServer)

Types

type PorsClient

type PorsClient interface {
	Invoke(ctx context.Context, in *Req, opts ...grpc.CallOption) (*Rsp, error)
}

PorsClient is the client API for Pors service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewPorsClient

func NewPorsClient(cc *grpc.ClientConn) PorsClient

type PorsServer

type PorsServer interface {
	Invoke(context.Context, *Req) (*Rsp, error)
}

PorsServer is the server API for Pors service.

type Req

type Req struct {
	Reqdata              string   `protobuf:"bytes,1,opt,name=reqdata,proto3" json:"reqdata,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Req) Descriptor

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

func (*Req) GetReqdata

func (m *Req) GetReqdata() string

func (*Req) ProtoMessage

func (*Req) ProtoMessage()

func (*Req) Reset

func (m *Req) Reset()

func (*Req) String

func (m *Req) String() string

func (*Req) XXX_DiscardUnknown

func (m *Req) XXX_DiscardUnknown()

func (*Req) XXX_Marshal

func (m *Req) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Req) XXX_Merge

func (m *Req) XXX_Merge(src proto.Message)

func (*Req) XXX_Size

func (m *Req) XXX_Size() int

func (*Req) XXX_Unmarshal

func (m *Req) XXX_Unmarshal(b []byte) error

type Rsp

type Rsp struct {
	Rspdata              string   `protobuf:"bytes,1,opt,name=rspdata,proto3" json:"rspdata,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Rsp) Descriptor

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

func (*Rsp) GetRspdata

func (m *Rsp) GetRspdata() string

func (*Rsp) ProtoMessage

func (*Rsp) ProtoMessage()

func (*Rsp) Reset

func (m *Rsp) Reset()

func (*Rsp) String

func (m *Rsp) String() string

func (*Rsp) XXX_DiscardUnknown

func (m *Rsp) XXX_DiscardUnknown()

func (*Rsp) XXX_Marshal

func (m *Rsp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Rsp) XXX_Merge

func (m *Rsp) XXX_Merge(src proto.Message)

func (*Rsp) XXX_Size

func (m *Rsp) XXX_Size() int

func (*Rsp) XXX_Unmarshal

func (m *Rsp) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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