example

package
v0.0.0-...-8b57a7c Latest Latest
Warning

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

Go to latest
Published: May 23, 2019 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-httpclient. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BarRequest

type BarRequest struct {
	Status               string   `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Boolean              bool     `protobuf:"varint,2,opt,name=boolean,proto3" json:"boolean,omitempty"`
	Integer              uint32   `protobuf:"varint,3,opt,name=integer,proto3" json:"integer,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BarRequest) Descriptor

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

func (*BarRequest) GetBoolean

func (m *BarRequest) GetBoolean() bool

func (*BarRequest) GetInteger

func (m *BarRequest) GetInteger() uint32

func (*BarRequest) GetStatus

func (m *BarRequest) GetStatus() string

func (*BarRequest) ProtoMessage

func (*BarRequest) ProtoMessage()

func (*BarRequest) Reset

func (m *BarRequest) Reset()

func (*BarRequest) String

func (m *BarRequest) String() string

func (*BarRequest) XXX_DiscardUnknown

func (m *BarRequest) XXX_DiscardUnknown()

func (*BarRequest) XXX_Marshal

func (m *BarRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BarRequest) XXX_Merge

func (m *BarRequest) XXX_Merge(src proto.Message)

func (*BarRequest) XXX_Size

func (m *BarRequest) XXX_Size() int

func (*BarRequest) XXX_Unmarshal

func (m *BarRequest) XXX_Unmarshal(b []byte) error

type BarResponse

type BarResponse struct {
	Response             string   `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BarResponse) Descriptor

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

func (*BarResponse) GetResponse

func (m *BarResponse) GetResponse() string

func (*BarResponse) ProtoMessage

func (*BarResponse) ProtoMessage()

func (*BarResponse) Reset

func (m *BarResponse) Reset()

func (*BarResponse) String

func (m *BarResponse) String() string

func (*BarResponse) XXX_DiscardUnknown

func (m *BarResponse) XXX_DiscardUnknown()

func (*BarResponse) XXX_Marshal

func (m *BarResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BarResponse) XXX_Merge

func (m *BarResponse) XXX_Merge(src proto.Message)

func (*BarResponse) XXX_Size

func (m *BarResponse) XXX_Size() int

func (*BarResponse) XXX_Unmarshal

func (m *BarResponse) XXX_Unmarshal(b []byte) error

type BazRequest

type BazRequest struct {
	Status               string   `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Boolean              bool     `protobuf:"varint,2,opt,name=boolean,proto3" json:"boolean,omitempty"`
	Integer              uint32   `protobuf:"varint,3,opt,name=integer,proto3" json:"integer,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BazRequest) Descriptor

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

func (*BazRequest) GetBoolean

func (m *BazRequest) GetBoolean() bool

func (*BazRequest) GetInteger

func (m *BazRequest) GetInteger() uint32

func (*BazRequest) GetStatus

func (m *BazRequest) GetStatus() string

func (*BazRequest) ProtoMessage

func (*BazRequest) ProtoMessage()

func (*BazRequest) Reset

func (m *BazRequest) Reset()

func (*BazRequest) String

func (m *BazRequest) String() string

func (*BazRequest) XXX_DiscardUnknown

func (m *BazRequest) XXX_DiscardUnknown()

func (*BazRequest) XXX_Marshal

func (m *BazRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BazRequest) XXX_Merge

func (m *BazRequest) XXX_Merge(src proto.Message)

func (*BazRequest) XXX_Size

func (m *BazRequest) XXX_Size() int

func (*BazRequest) XXX_Unmarshal

func (m *BazRequest) XXX_Unmarshal(b []byte) error

type BazResponse

type BazResponse struct {
	Response             string   `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*BazResponse) Descriptor

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

func (*BazResponse) GetResponse

func (m *BazResponse) GetResponse() string

func (*BazResponse) ProtoMessage

func (*BazResponse) ProtoMessage()

func (*BazResponse) Reset

func (m *BazResponse) Reset()

func (*BazResponse) String

func (m *BazResponse) String() string

func (*BazResponse) XXX_DiscardUnknown

func (m *BazResponse) XXX_DiscardUnknown()

func (*BazResponse) XXX_Marshal

func (m *BazResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BazResponse) XXX_Merge

func (m *BazResponse) XXX_Merge(src proto.Message)

func (*BazResponse) XXX_Size

func (m *BazResponse) XXX_Size() int

func (*BazResponse) XXX_Unmarshal

func (m *BazResponse) XXX_Unmarshal(b []byte) error

type ExampleServiceWithBasicAuth

type ExampleServiceWithBasicAuth struct {
	Endpoint string
	Username string
	Password string
}

func NewExampleServiceWithBasicAuth

func NewExampleServiceWithBasicAuth(username, password string) *ExampleServiceWithBasicAuth

NewExampleServiceWithBasicAuth - sets up a new ExampleService client with basic authentication scheme

func (*ExampleServiceWithBasicAuth) GetFoo

func (srv *ExampleServiceWithBasicAuth) GetFoo(arg *FooRequest, rms []RequestManipulator, clientopts ...cb.Option) (*FooResponse, error)

func (*ExampleServiceWithBasicAuth) PostBaz

func (srv *ExampleServiceWithBasicAuth) PostBaz(arg *BazRequest, body io.Reader, rms []RequestManipulator, clientopts ...basic.Option) (*BazResponse, error)

func (*ExampleServiceWithBasicAuth) PutBar

func (srv *ExampleServiceWithBasicAuth) PutBar(arg *BarRequest, body io.Reader, rms []RequestManipulator, clientopts ...basic.Option) (*BarResponse, error)

type FooRequest

type FooRequest struct {
	Status               string   `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Message              string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	SomeOther            string   `protobuf:"bytes,3,opt,name=some_other,json=someOther,proto3" json:"some_other,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FooRequest) Descriptor

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

func (*FooRequest) GetMessage

func (m *FooRequest) GetMessage() string

func (*FooRequest) GetSomeOther

func (m *FooRequest) GetSomeOther() string

func (*FooRequest) GetStatus

func (m *FooRequest) GetStatus() string

func (*FooRequest) ProtoMessage

func (*FooRequest) ProtoMessage()

func (*FooRequest) Reset

func (m *FooRequest) Reset()

func (*FooRequest) String

func (m *FooRequest) String() string

func (*FooRequest) XXX_DiscardUnknown

func (m *FooRequest) XXX_DiscardUnknown()

func (*FooRequest) XXX_Marshal

func (m *FooRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FooRequest) XXX_Merge

func (m *FooRequest) XXX_Merge(src proto.Message)

func (*FooRequest) XXX_Size

func (m *FooRequest) XXX_Size() int

func (*FooRequest) XXX_Unmarshal

func (m *FooRequest) XXX_Unmarshal(b []byte) error

type FooResponse

type FooResponse struct {
	Status               string   `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Message              string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*FooResponse) Descriptor

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

func (*FooResponse) GetMessage

func (m *FooResponse) GetMessage() string

func (*FooResponse) GetStatus

func (m *FooResponse) GetStatus() string

func (*FooResponse) ProtoMessage

func (*FooResponse) ProtoMessage()

func (*FooResponse) Reset

func (m *FooResponse) Reset()

func (*FooResponse) String

func (m *FooResponse) String() string

func (*FooResponse) XXX_DiscardUnknown

func (m *FooResponse) XXX_DiscardUnknown()

func (*FooResponse) XXX_Marshal

func (m *FooResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*FooResponse) XXX_Merge

func (m *FooResponse) XXX_Merge(src proto.Message)

func (*FooResponse) XXX_Size

func (m *FooResponse) XXX_Size() int

func (*FooResponse) XXX_Unmarshal

func (m *FooResponse) XXX_Unmarshal(b []byte) error

type RequestManipulator

type RequestManipulator func(*http.Request) error

Jump to

Keyboard shortcuts

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