go_micro_srv_chat

package
v0.0.0-...-1cab0d4 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package go_micro_srv_chat is a generated protocol buffer package.

It is generated from these files:

proto/chat.proto

It has these top-level messages:

RegisterRequest
RegisterResponse
UnregisterRequest
UnregisterResponse
UsersRequest
UsersResponse
RoomsRequest
RoomsResponse
JoinRequest
JoinResponse
OutRequest
OutResponse
SendRequest
SendResponse
StreamRequest
StreamResponse
Event
Room
User
Client

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterChatHandler

func RegisterChatHandler(s server.Server, hdlr ChatHandler, opts ...server.HandlerOption) error

Types

type ChatService

func NewChatService

func NewChatService(name string, c client.Client) ChatService

type Chat_StreamService

type Chat_StreamService interface {
	SendMsg(interface{}) error
	RecvMsg(interface{}) error
	Close() error
	Recv() (*StreamResponse, error)
}

type Chat_StreamStream

type Chat_StreamStream interface {
	SendMsg(interface{}) error
	RecvMsg(interface{}) error
	Close() error
	Send(*StreamResponse) error
}

type Client

type Client struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Platform             string   `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
	IsOnline             bool     `protobuf:"varint,3,opt,name=is_online,json=isOnline,proto3" json:"is_online,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Client) Descriptor

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

func (*Client) GetId

func (m *Client) GetId() string

func (*Client) GetIsOnline

func (m *Client) GetIsOnline() bool

func (*Client) GetPlatform

func (m *Client) GetPlatform() string

func (*Client) ProtoMessage

func (*Client) ProtoMessage()

func (*Client) Reset

func (m *Client) Reset()

func (*Client) String

func (m *Client) String() string

func (*Client) XXX_DiscardUnknown

func (m *Client) XXX_DiscardUnknown()

func (*Client) XXX_Marshal

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

func (*Client) XXX_Merge

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

func (*Client) XXX_Size

func (m *Client) XXX_Size() int

func (*Client) XXX_Unmarshal

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

type Event

type Event struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Type                 string   `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
	From                 string   `protobuf:"bytes,3,opt,name=from,proto3" json:"from,omitempty"`
	To                   string   `protobuf:"bytes,4,opt,name=to,proto3" json:"to,omitempty"`
	Body                 string   `protobuf:"bytes,5,opt,name=body,proto3" json:"body,omitempty"`
	Created              int64    `protobuf:"varint,6,opt,name=created,proto3" json:"created,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Event) Descriptor

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

func (*Event) GetBody

func (m *Event) GetBody() string

func (*Event) GetCreated

func (m *Event) GetCreated() int64

func (*Event) GetFrom

func (m *Event) GetFrom() string

func (*Event) GetId

func (m *Event) GetId() string

func (*Event) GetTo

func (m *Event) GetTo() string

func (*Event) GetType

func (m *Event) GetType() string

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) String

func (m *Event) String() string

func (*Event) XXX_DiscardUnknown

func (m *Event) XXX_DiscardUnknown()

func (*Event) XXX_Marshal

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

func (*Event) XXX_Merge

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

func (*Event) XXX_Size

func (m *Event) XXX_Size() int

func (*Event) XXX_Unmarshal

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

type JoinRequest

type JoinRequest struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	RoomId               string   `protobuf:"bytes,2,opt,name=roomId,proto3" json:"roomId,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*JoinRequest) Descriptor

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

func (*JoinRequest) GetId

func (m *JoinRequest) GetId() string

func (*JoinRequest) GetRoomId

func (m *JoinRequest) GetRoomId() string

func (*JoinRequest) ProtoMessage

func (*JoinRequest) ProtoMessage()

func (*JoinRequest) Reset

func (m *JoinRequest) Reset()

func (*JoinRequest) String

func (m *JoinRequest) String() string

func (*JoinRequest) XXX_DiscardUnknown

func (m *JoinRequest) XXX_DiscardUnknown()

func (*JoinRequest) XXX_Marshal

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

func (*JoinRequest) XXX_Merge

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

func (*JoinRequest) XXX_Size

func (m *JoinRequest) XXX_Size() int

func (*JoinRequest) XXX_Unmarshal

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

type JoinResponse

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

func (*JoinResponse) Descriptor

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

func (*JoinResponse) ProtoMessage

func (*JoinResponse) ProtoMessage()

func (*JoinResponse) Reset

func (m *JoinResponse) Reset()

func (*JoinResponse) String

func (m *JoinResponse) String() string

func (*JoinResponse) XXX_DiscardUnknown

func (m *JoinResponse) XXX_DiscardUnknown()

func (*JoinResponse) XXX_Marshal

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

func (*JoinResponse) XXX_Merge

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

func (*JoinResponse) XXX_Size

func (m *JoinResponse) XXX_Size() int

func (*JoinResponse) XXX_Unmarshal

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

type OutRequest

type OutRequest struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	RoomId               string   `protobuf:"bytes,2,opt,name=roomId,proto3" json:"roomId,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*OutRequest) Descriptor

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

func (*OutRequest) GetId

func (m *OutRequest) GetId() string

func (*OutRequest) GetRoomId

func (m *OutRequest) GetRoomId() string

func (*OutRequest) ProtoMessage

func (*OutRequest) ProtoMessage()

func (*OutRequest) Reset

func (m *OutRequest) Reset()

func (*OutRequest) String

func (m *OutRequest) String() string

func (*OutRequest) XXX_DiscardUnknown

func (m *OutRequest) XXX_DiscardUnknown()

func (*OutRequest) XXX_Marshal

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

func (*OutRequest) XXX_Merge

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

func (*OutRequest) XXX_Size

func (m *OutRequest) XXX_Size() int

func (*OutRequest) XXX_Unmarshal

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

type OutResponse

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

func (*OutResponse) Descriptor

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

func (*OutResponse) ProtoMessage

func (*OutResponse) ProtoMessage()

func (*OutResponse) Reset

func (m *OutResponse) Reset()

func (*OutResponse) String

func (m *OutResponse) String() string

func (*OutResponse) XXX_DiscardUnknown

func (m *OutResponse) XXX_DiscardUnknown()

func (*OutResponse) XXX_Marshal

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

func (*OutResponse) XXX_Merge

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

func (*OutResponse) XXX_Size

func (m *OutResponse) XXX_Size() int

func (*OutResponse) XXX_Unmarshal

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

type RegisterRequest

type RegisterRequest struct {
	User                 *User    `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RegisterRequest) Descriptor

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

func (*RegisterRequest) GetUser

func (m *RegisterRequest) GetUser() *User

func (*RegisterRequest) ProtoMessage

func (*RegisterRequest) ProtoMessage()

func (*RegisterRequest) Reset

func (m *RegisterRequest) Reset()

func (*RegisterRequest) String

func (m *RegisterRequest) String() string

func (*RegisterRequest) XXX_DiscardUnknown

func (m *RegisterRequest) XXX_DiscardUnknown()

func (*RegisterRequest) XXX_Marshal

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

func (*RegisterRequest) XXX_Merge

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

func (*RegisterRequest) XXX_Size

func (m *RegisterRequest) XXX_Size() int

func (*RegisterRequest) XXX_Unmarshal

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

type RegisterResponse

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

func (*RegisterResponse) Descriptor

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

func (*RegisterResponse) ProtoMessage

func (*RegisterResponse) ProtoMessage()

func (*RegisterResponse) Reset

func (m *RegisterResponse) Reset()

func (*RegisterResponse) String

func (m *RegisterResponse) String() string

func (*RegisterResponse) XXX_DiscardUnknown

func (m *RegisterResponse) XXX_DiscardUnknown()

func (*RegisterResponse) XXX_Marshal

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

func (*RegisterResponse) XXX_Merge

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

func (*RegisterResponse) XXX_Size

func (m *RegisterResponse) XXX_Size() int

func (*RegisterResponse) XXX_Unmarshal

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

type Room

type Room struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Room) Descriptor

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

func (*Room) GetId

func (m *Room) GetId() string

func (*Room) GetName

func (m *Room) GetName() string

func (*Room) ProtoMessage

func (*Room) ProtoMessage()

func (*Room) Reset

func (m *Room) Reset()

func (*Room) String

func (m *Room) String() string

func (*Room) XXX_DiscardUnknown

func (m *Room) XXX_DiscardUnknown()

func (*Room) XXX_Marshal

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

func (*Room) XXX_Merge

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

func (*Room) XXX_Size

func (m *Room) XXX_Size() int

func (*Room) XXX_Unmarshal

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

type RoomsRequest

type RoomsRequest struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RoomsRequest) Descriptor

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

func (*RoomsRequest) GetId

func (m *RoomsRequest) GetId() string

func (*RoomsRequest) ProtoMessage

func (*RoomsRequest) ProtoMessage()

func (*RoomsRequest) Reset

func (m *RoomsRequest) Reset()

func (*RoomsRequest) String

func (m *RoomsRequest) String() string

func (*RoomsRequest) XXX_DiscardUnknown

func (m *RoomsRequest) XXX_DiscardUnknown()

func (*RoomsRequest) XXX_Marshal

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

func (*RoomsRequest) XXX_Merge

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

func (*RoomsRequest) XXX_Size

func (m *RoomsRequest) XXX_Size() int

func (*RoomsRequest) XXX_Unmarshal

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

type RoomsResponse

type RoomsResponse struct {
	Rooms                []*Room  `protobuf:"bytes,1,rep,name=rooms,proto3" json:"rooms,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RoomsResponse) Descriptor

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

func (*RoomsResponse) GetRooms

func (m *RoomsResponse) GetRooms() []*Room

func (*RoomsResponse) ProtoMessage

func (*RoomsResponse) ProtoMessage()

func (*RoomsResponse) Reset

func (m *RoomsResponse) Reset()

func (*RoomsResponse) String

func (m *RoomsResponse) String() string

func (*RoomsResponse) XXX_DiscardUnknown

func (m *RoomsResponse) XXX_DiscardUnknown()

func (*RoomsResponse) XXX_Marshal

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

func (*RoomsResponse) XXX_Merge

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

func (*RoomsResponse) XXX_Size

func (m *RoomsResponse) XXX_Size() int

func (*RoomsResponse) XXX_Unmarshal

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

type SendRequest

type SendRequest struct {
	Event                *Event   `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendRequest) Descriptor

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

func (*SendRequest) GetEvent

func (m *SendRequest) GetEvent() *Event

func (*SendRequest) ProtoMessage

func (*SendRequest) ProtoMessage()

func (*SendRequest) Reset

func (m *SendRequest) Reset()

func (*SendRequest) String

func (m *SendRequest) String() string

func (*SendRequest) XXX_DiscardUnknown

func (m *SendRequest) XXX_DiscardUnknown()

func (*SendRequest) XXX_Marshal

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

func (*SendRequest) XXX_Merge

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

func (*SendRequest) XXX_Size

func (m *SendRequest) XXX_Size() int

func (*SendRequest) XXX_Unmarshal

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

type SendResponse

type SendResponse struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SendResponse) Descriptor

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

func (*SendResponse) GetId

func (m *SendResponse) GetId() string

func (*SendResponse) ProtoMessage

func (*SendResponse) ProtoMessage()

func (*SendResponse) Reset

func (m *SendResponse) Reset()

func (*SendResponse) String

func (m *SendResponse) String() string

func (*SendResponse) XXX_DiscardUnknown

func (m *SendResponse) XXX_DiscardUnknown()

func (*SendResponse) XXX_Marshal

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

func (*SendResponse) XXX_Merge

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

func (*SendResponse) XXX_Size

func (m *SendResponse) XXX_Size() int

func (*SendResponse) XXX_Unmarshal

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

type StreamRequest

type StreamRequest struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Platform             string   `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
	Start                int64    `protobuf:"varint,3,opt,name=start,proto3" json:"start,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StreamRequest) Descriptor

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

func (*StreamRequest) GetId

func (m *StreamRequest) GetId() string

func (*StreamRequest) GetPlatform

func (m *StreamRequest) GetPlatform() string

func (*StreamRequest) GetStart

func (m *StreamRequest) GetStart() int64

func (*StreamRequest) ProtoMessage

func (*StreamRequest) ProtoMessage()

func (*StreamRequest) Reset

func (m *StreamRequest) Reset()

func (*StreamRequest) String

func (m *StreamRequest) String() string

func (*StreamRequest) Validate

func (req *StreamRequest) Validate() error

func (*StreamRequest) XXX_DiscardUnknown

func (m *StreamRequest) XXX_DiscardUnknown()

func (*StreamRequest) XXX_Marshal

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

func (*StreamRequest) XXX_Merge

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

func (*StreamRequest) XXX_Size

func (m *StreamRequest) XXX_Size() int

func (*StreamRequest) XXX_Unmarshal

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

type StreamResponse

type StreamResponse struct {
	Event                *Event   `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StreamResponse) Descriptor

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

func (*StreamResponse) GetEvent

func (m *StreamResponse) GetEvent() *Event

func (*StreamResponse) ProtoMessage

func (*StreamResponse) ProtoMessage()

func (*StreamResponse) Reset

func (m *StreamResponse) Reset()

func (*StreamResponse) String

func (m *StreamResponse) String() string

func (*StreamResponse) XXX_DiscardUnknown

func (m *StreamResponse) XXX_DiscardUnknown()

func (*StreamResponse) XXX_Marshal

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

func (*StreamResponse) XXX_Merge

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

func (*StreamResponse) XXX_Size

func (m *StreamResponse) XXX_Size() int

func (*StreamResponse) XXX_Unmarshal

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

type UnregisterRequest

type UnregisterRequest struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UnregisterRequest) Descriptor

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

func (*UnregisterRequest) GetId

func (m *UnregisterRequest) GetId() string

func (*UnregisterRequest) ProtoMessage

func (*UnregisterRequest) ProtoMessage()

func (*UnregisterRequest) Reset

func (m *UnregisterRequest) Reset()

func (*UnregisterRequest) String

func (m *UnregisterRequest) String() string

func (*UnregisterRequest) XXX_DiscardUnknown

func (m *UnregisterRequest) XXX_DiscardUnknown()

func (*UnregisterRequest) XXX_Marshal

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

func (*UnregisterRequest) XXX_Merge

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

func (*UnregisterRequest) XXX_Size

func (m *UnregisterRequest) XXX_Size() int

func (*UnregisterRequest) XXX_Unmarshal

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

type UnregisterResponse

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

func (*UnregisterResponse) Descriptor

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

func (*UnregisterResponse) ProtoMessage

func (*UnregisterResponse) ProtoMessage()

func (*UnregisterResponse) Reset

func (m *UnregisterResponse) Reset()

func (*UnregisterResponse) String

func (m *UnregisterResponse) String() string

func (*UnregisterResponse) XXX_DiscardUnknown

func (m *UnregisterResponse) XXX_DiscardUnknown()

func (*UnregisterResponse) XXX_Marshal

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

func (*UnregisterResponse) XXX_Merge

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

func (*UnregisterResponse) XXX_Size

func (m *UnregisterResponse) XXX_Size() int

func (*UnregisterResponse) XXX_Unmarshal

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

type User

type User struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*User) Descriptor

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

func (*User) GetId

func (m *User) GetId() string

func (*User) GetName

func (m *User) GetName() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) Reset

func (m *User) Reset()

func (*User) String

func (m *User) String() string

func (*User) XXX_DiscardUnknown

func (m *User) XXX_DiscardUnknown()

func (*User) XXX_Marshal

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

func (*User) XXX_Merge

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

func (*User) XXX_Size

func (m *User) XXX_Size() int

func (*User) XXX_Unmarshal

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

type UsersRequest

type UsersRequest struct {
	Id                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UsersRequest) Descriptor

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

func (*UsersRequest) GetId

func (m *UsersRequest) GetId() string

func (*UsersRequest) ProtoMessage

func (*UsersRequest) ProtoMessage()

func (*UsersRequest) Reset

func (m *UsersRequest) Reset()

func (*UsersRequest) String

func (m *UsersRequest) String() string

func (*UsersRequest) XXX_DiscardUnknown

func (m *UsersRequest) XXX_DiscardUnknown()

func (*UsersRequest) XXX_Marshal

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

func (*UsersRequest) XXX_Merge

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

func (*UsersRequest) XXX_Size

func (m *UsersRequest) XXX_Size() int

func (*UsersRequest) XXX_Unmarshal

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

type UsersResponse

type UsersResponse struct {
	Users                []*User  `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UsersResponse) Descriptor

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

func (*UsersResponse) GetUsers

func (m *UsersResponse) GetUsers() []*User

func (*UsersResponse) ProtoMessage

func (*UsersResponse) ProtoMessage()

func (*UsersResponse) Reset

func (m *UsersResponse) Reset()

func (*UsersResponse) String

func (m *UsersResponse) String() string

func (*UsersResponse) XXX_DiscardUnknown

func (m *UsersResponse) XXX_DiscardUnknown()

func (*UsersResponse) XXX_Marshal

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

func (*UsersResponse) XXX_Merge

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

func (*UsersResponse) XXX_Size

func (m *UsersResponse) XXX_Size() int

func (*UsersResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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