grpc

package
v0.0.0-...-da789b0 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_grpc_grpc_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type GRPC

type GRPC struct {

	// Types that are assignable to Type:
	//
	//	*GRPC_Method
	//	*GRPC_Server
	Type isGRPC_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*GRPC) Descriptor deprecated

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

Deprecated: Use GRPC.ProtoReflect.Descriptor instead.

func (*GRPC) GetMethod

func (x *GRPC) GetMethod() *Method

func (*GRPC) GetServer

func (x *GRPC) GetServer() *Server

func (*GRPC) GetType

func (m *GRPC) GetType() isGRPC_Type

func (*GRPC) ProtoMessage

func (*GRPC) ProtoMessage()

func (*GRPC) ProtoReflect

func (x *GRPC) ProtoReflect() protoreflect.Message

func (*GRPC) Reset

func (x *GRPC) Reset()

func (*GRPC) String

func (x *GRPC) String() string

type GRPC_Method

type GRPC_Method struct {
	Method *Method `protobuf:"bytes,1,opt,name=method,proto3,oneof"`
}

type GRPC_Server

type GRPC_Server struct {
	Server *Server `protobuf:"bytes,2,opt,name=server,proto3,oneof"`
}

type Method

type Method struct {
	Package string `protobuf:"bytes,1,opt,name=package,proto3" json:"package,omitempty"`
	Service string `protobuf:"bytes,2,opt,name=service,proto3" json:"service,omitempty"`
	Method  string `protobuf:"bytes,3,opt,name=method,proto3" json:"method,omitempty"`
	// contains filtered or unexported fields
}

func (*Method) Descriptor deprecated

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

Deprecated: Use Method.ProtoReflect.Descriptor instead.

func (*Method) GetMethod

func (x *Method) GetMethod() string

func (*Method) GetPackage

func (x *Method) GetPackage() string

func (*Method) GetService

func (x *Method) GetService() string

func (*Method) ProtoMessage

func (*Method) ProtoMessage()

func (*Method) ProtoReflect

func (x *Method) ProtoReflect() protoreflect.Message

func (*Method) Reset

func (x *Method) Reset()

func (*Method) String

func (x *Method) String() string

type Server

type Server struct {
	Host string `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	// contains filtered or unexported fields
}

func (*Server) Descriptor deprecated

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

Deprecated: Use Server.ProtoReflect.Descriptor instead.

func (*Server) GetHost

func (x *Server) GetHost() string

func (*Server) ProtoMessage

func (*Server) ProtoMessage()

func (*Server) ProtoReflect

func (x *Server) ProtoReflect() protoreflect.Message

func (*Server) Reset

func (x *Server) Reset()

func (*Server) String

func (x *Server) String() string

Jump to

Keyboard shortcuts

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