graceful

package
v1.10.47 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: MIT Imports: 5 Imported by: 2

Documentation

Overview

Package graceful is a generated protocol buffer package.

It is generated from these files:

graceful.proto

It has these top-level messages:

Request
Response

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterGraceServiceServer

func RegisterGraceServiceServer(s *grpc.Server, srv GraceServiceServer)

Types

type GraceServiceClient

type GraceServiceClient interface {
	Grace(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Response, error)
}

func NewGraceServiceClient

func NewGraceServiceClient(cc *grpc.ClientConn) GraceServiceClient

type GraceServiceServer

type GraceServiceServer interface {
	Grace(context.Context, *Request) (*Response, error)
}

type Request

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

func (*Request) Descriptor

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

func (*Request) GetFrom

func (m *Request) GetFrom() string

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (m *Request) String() string

type Response

type Response struct {
	Host string `protobuf:"bytes,2,opt,name=host" json:"host,omitempty"`
}

func (*Response) Descriptor

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

func (*Response) GetHost

func (m *Response) GetHost() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

Jump to

Keyboard shortcuts

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