pbapi

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: Apache-2.0 Imports: 2 Imported by: 2 modules, 3 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Echo

type Echo interface {
	StreamRequestEcho(stream Echo_StreamRequestEchoServer) (err error)
	StreamResponseEcho(req *Request, stream Echo_StreamResponseEchoServer) (err error)
	BidirectionalEcho(stream Echo_BidirectionalEchoServer) (err error)
}

type Echo_BidirectionalEchoServer

type Echo_BidirectionalEchoServer interface {
	streaming.Stream
	Recv() (*Request, error)
	Send(*Response) error
}

type Echo_StreamRequestEchoServer

type Echo_StreamRequestEchoServer interface {
	streaming.Stream
	Recv() (*Request, error)
	SendAndClose(*Response) error
}

type Echo_StreamResponseEchoServer

type Echo_StreamResponseEchoServer interface {
	streaming.Stream
	Send(*Response) error
}

type Request

type Request struct {
	Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
}

func (*Request) GetMessage

func (x *Request) GetMessage() string

func (*Request) Marshal added in v0.4.2

func (x *Request) Marshal(in []byte) ([]byte, error)

func (*Request) Reset

func (x *Request) Reset()

func (*Request) Unmarshal added in v0.4.2

func (x *Request) Unmarshal(in []byte) error

type Response

type Response struct {
	Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
}

func (*Response) GetMessage

func (x *Response) GetMessage() string

func (*Response) Marshal added in v0.4.2

func (x *Response) Marshal(in []byte) ([]byte, error)

func (*Response) Reset

func (x *Response) Reset()

func (*Response) Unmarshal added in v0.4.2

func (x *Response) Unmarshal(in []byte) error

Directories

Path Synopsis
Code generated by Kitex v0.15.1.
Code generated by Kitex v0.15.1.

Jump to

Keyboard shortcuts

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