go_micro_srv_getArea

package
v0.0.0-...-b81f254 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterGetAreaHandler

func RegisterGetAreaHandler(s server.Server, hdlr GetAreaHandler, opts ...server.HandlerOption) error

Types

type AreaInfo

type AreaInfo struct {
	Aid                  int32    `protobuf:"varint,1,opt,name=aid,proto3" json:"aid,omitempty"`
	Aname                string   `protobuf:"bytes,2,opt,name=aname,proto3" json:"aname,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AreaInfo) Descriptor

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

func (*AreaInfo) GetAid

func (m *AreaInfo) GetAid() int32

func (*AreaInfo) GetAname

func (m *AreaInfo) GetAname() string

func (*AreaInfo) ProtoMessage

func (*AreaInfo) ProtoMessage()

func (*AreaInfo) Reset

func (m *AreaInfo) Reset()

func (*AreaInfo) String

func (m *AreaInfo) String() string

func (*AreaInfo) XXX_DiscardUnknown

func (m *AreaInfo) XXX_DiscardUnknown()

func (*AreaInfo) XXX_Marshal

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

func (*AreaInfo) XXX_Merge

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

func (*AreaInfo) XXX_Size

func (m *AreaInfo) XXX_Size() int

func (*AreaInfo) XXX_Unmarshal

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

type GetAreaHandler

type GetAreaHandler interface {
	MicroGetArea(context.Context, *Request, *Response) error
}

type GetAreaService

type GetAreaService interface {
	MicroGetArea(ctx context.Context, in *Request, opts ...client.CallOption) (*Response, error)
}

func NewGetAreaService

func NewGetAreaService(name string, c client.Client) GetAreaService

type Request

type Request struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Request) Descriptor

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

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

func (m *Request) XXX_DiscardUnknown()

func (*Request) XXX_Marshal

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

func (*Request) XXX_Merge

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

func (*Request) XXX_Size

func (m *Request) XXX_Size() int

func (*Request) XXX_Unmarshal

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

type Response

type Response struct {
	Errno                string      `protobuf:"bytes,1,opt,name=errno,proto3" json:"errno,omitempty"`
	Errmsg               string      `protobuf:"bytes,2,opt,name=errmsg,proto3" json:"errmsg,omitempty"`
	Data                 []*AreaInfo `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*Response) Descriptor

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

func (*Response) GetData

func (m *Response) GetData() []*AreaInfo

func (*Response) GetErrmsg

func (m *Response) GetErrmsg() string

func (*Response) GetErrno

func (m *Response) GetErrno() string

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

func (m *Response) XXX_DiscardUnknown()

func (*Response) XXX_Marshal

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

func (*Response) XXX_Merge

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

func (*Response) XXX_Size

func (m *Response) XXX_Size() int

func (*Response) XXX_Unmarshal

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