transportsProto

package
v0.0.0-...-558719d Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2017 License: MIT Imports: 3 Imported by: 0

README

tranports (message formats)

I've used the following command to generate Go modules for these message formats:

protoc --go_out=. *.proto

Documentation

Overview

Package transports is a generated protocol buffer package.

It is generated from these files:

httprequest.proto
httpresponse.proto

It has these top-level messages:

HttpRequest
HttpResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpRequest

type HttpRequest struct {
	Method           *string `protobuf:"bytes,1,req,name=method" json:"method,omitempty"`
	Url              *string `protobuf:"bytes,2,req,name=url" json:"url,omitempty"`
	Proto            *string `protobuf:"bytes,3,req,name=proto" json:"proto,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*HttpRequest) Descriptor

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

func (*HttpRequest) GetMethod

func (m *HttpRequest) GetMethod() string

func (*HttpRequest) GetProto

func (m *HttpRequest) GetProto() string

func (*HttpRequest) GetUrl

func (m *HttpRequest) GetUrl() string

func (*HttpRequest) ProtoMessage

func (*HttpRequest) ProtoMessage()

func (*HttpRequest) Reset

func (m *HttpRequest) Reset()

func (*HttpRequest) String

func (m *HttpRequest) String() string

type HttpResponse

type HttpResponse struct {
	Status           *string `protobuf:"bytes,1,req,name=status" json:"status,omitempty"`
	Statuscode       *int32  `protobuf:"varint,2,req,name=statuscode" json:"statuscode,omitempty"`
	Proto            *string `protobuf:"bytes,3,req,name=proto" json:"proto,omitempty"`
	Body             *string `protobuf:"bytes,4,req,name=body" json:"body,omitempty"`
	XXX_unrecognized []byte  `json:"-"`
}

func (*HttpResponse) Descriptor

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

func (*HttpResponse) GetBody

func (m *HttpResponse) GetBody() string

func (*HttpResponse) GetProto

func (m *HttpResponse) GetProto() string

func (*HttpResponse) GetStatus

func (m *HttpResponse) GetStatus() string

func (*HttpResponse) GetStatuscode

func (m *HttpResponse) GetStatuscode() int32

func (*HttpResponse) ProtoMessage

func (*HttpResponse) ProtoMessage()

func (*HttpResponse) Reset

func (m *HttpResponse) Reset()

func (*HttpResponse) String

func (m *HttpResponse) String() string

Jump to

Keyboard shortcuts

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