go_micro_api

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2019 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package go_micro_api is a generated protocol buffer package.

It is generated from these files:

github.com/micro/micro/api/proto/api.proto

It has these top-level messages:

Pair
Request
Response

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Pair

type Pair struct {
	Key                  string   `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Values               []string `protobuf:"bytes,2,rep,name=values,proto3" json:"values,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Pair) Descriptor

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

func (*Pair) GetKey added in v0.11.0

func (m *Pair) GetKey() string

func (*Pair) GetValues added in v0.11.0

func (m *Pair) GetValues() []string

func (*Pair) ProtoMessage

func (*Pair) ProtoMessage()

func (*Pair) Reset

func (m *Pair) Reset()

func (*Pair) String

func (m *Pair) String() string

func (*Pair) XXX_DiscardUnknown added in v0.20.0

func (m *Pair) XXX_DiscardUnknown()

func (*Pair) XXX_Marshal added in v0.20.0

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

func (*Pair) XXX_Merge added in v0.20.0

func (dst *Pair) XXX_Merge(src proto.Message)

func (*Pair) XXX_Size added in v0.20.0

func (m *Pair) XXX_Size() int

func (*Pair) XXX_Unmarshal added in v0.20.0

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

type Request

type Request struct {
	Method               string           `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
	Path                 string           `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	Header               map[string]*Pair `` /* 153-byte string literal not displayed */
	Get                  map[string]*Pair `` /* 147-byte string literal not displayed */
	Post                 map[string]*Pair `` /* 149-byte string literal not displayed */
	Body                 string           `protobuf:"bytes,6,opt,name=body,proto3" json:"body,omitempty"`
	Url                  string           `protobuf:"bytes,7,opt,name=url,proto3" json:"url,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*Request) Descriptor

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

func (*Request) GetBody added in v0.11.0

func (m *Request) GetBody() string

func (*Request) GetGet

func (m *Request) GetGet() map[string]*Pair

func (*Request) GetHeader

func (m *Request) GetHeader() map[string]*Pair

func (*Request) GetMethod added in v0.11.0

func (m *Request) GetMethod() string

func (*Request) GetPath added in v0.11.0

func (m *Request) GetPath() string

func (*Request) GetPost

func (m *Request) GetPost() map[string]*Pair

func (*Request) GetUrl added in v0.11.0

func (m *Request) GetUrl() string

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) String

func (m *Request) String() string

func (*Request) XXX_DiscardUnknown added in v0.20.0

func (m *Request) XXX_DiscardUnknown()

func (*Request) XXX_Marshal added in v0.20.0

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

func (*Request) XXX_Merge added in v0.20.0

func (dst *Request) XXX_Merge(src proto.Message)

func (*Request) XXX_Size added in v0.20.0

func (m *Request) XXX_Size() int

func (*Request) XXX_Unmarshal added in v0.20.0

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

type Response

type Response struct {
	StatusCode           int32            `protobuf:"varint,1,opt,name=statusCode,proto3" json:"statusCode,omitempty"`
	Header               map[string]*Pair `` /* 153-byte string literal not displayed */
	Body                 string           `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (*Response) Descriptor

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

func (*Response) GetBody added in v0.11.0

func (m *Response) GetBody() string

func (*Response) GetHeader

func (m *Response) GetHeader() map[string]*Pair

func (*Response) GetStatusCode added in v0.11.0

func (m *Response) GetStatusCode() int32

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) String

func (m *Response) String() string

func (*Response) XXX_DiscardUnknown added in v0.20.0

func (m *Response) XXX_DiscardUnknown()

func (*Response) XXX_Marshal added in v0.20.0

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

func (*Response) XXX_Merge added in v0.20.0

func (dst *Response) XXX_Merge(src proto.Message)

func (*Response) XXX_Size added in v0.20.0

func (m *Response) XXX_Size() int

func (*Response) XXX_Unmarshal added in v0.20.0

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

Jump to

Keyboard shortcuts

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