httppb

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// optional google.protobuf.plugin.Http http = 199522;
	E_Http = &file_google_protobuf_plugin_http_proto_extTypes[0]
)

Extension fields to descriptorpb.MethodOptions.

View Source
var File_google_protobuf_plugin_http_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Http

type Http struct {

	// Types that are assignable to Pattern:
	//	*Http_Get
	//	*Http_Put
	//	*Http_Post
	//	*Http_Delete
	Pattern isHttp_Pattern `protobuf_oneof:"pattern"`
	// content-type for request
	Consume string `protobuf:"bytes,5,opt,name=consume,proto3" json:"consume,omitempty"`
	// content-type for response
	Produce string `protobuf:"bytes,6,opt,name=produce,proto3" json:"produce,omitempty"`
	// contains filtered or unexported fields
}

func (*Http) Descriptor deprecated

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

Deprecated: Use Http.ProtoReflect.Descriptor instead.

func (*Http) GetConsume

func (x *Http) GetConsume() string

func (*Http) GetDelete

func (x *Http) GetDelete() string

func (*Http) GetGet

func (x *Http) GetGet() string

func (*Http) GetPattern

func (m *Http) GetPattern() isHttp_Pattern

func (*Http) GetPost

func (x *Http) GetPost() string

func (*Http) GetProduce

func (x *Http) GetProduce() string

func (*Http) GetPut

func (x *Http) GetPut() string

func (*Http) ProtoMessage

func (*Http) ProtoMessage()

func (*Http) ProtoReflect

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

func (*Http) Reset

func (x *Http) Reset()

func (*Http) String

func (x *Http) String() string

type Http_Delete

type Http_Delete struct {
	Delete string `protobuf:"bytes,4,opt,name=delete,proto3,oneof"`
}

type Http_Get

type Http_Get struct {
	Get string `protobuf:"bytes,1,opt,name=get,proto3,oneof"`
}

type Http_Post

type Http_Post struct {
	Post string `protobuf:"bytes,3,opt,name=post,proto3,oneof"`
}

type Http_Put

type Http_Put struct {
	Put string `protobuf:"bytes,2,opt,name=put,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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