example

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddRequest

type AddRequest struct {
	A                    int32    `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
	B                    int32    `protobuf:"varint,2,opt,name=b,proto3" json:"b,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddRequest) Descriptor

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

func (*AddRequest) GetA

func (m *AddRequest) GetA() int32

func (*AddRequest) GetB

func (m *AddRequest) GetB() int32

func (*AddRequest) ProtoMessage

func (*AddRequest) ProtoMessage()

func (*AddRequest) Reset

func (m *AddRequest) Reset()

func (*AddRequest) String

func (m *AddRequest) String() string

func (*AddRequest) XXX_DiscardUnknown

func (m *AddRequest) XXX_DiscardUnknown()

func (*AddRequest) XXX_Marshal

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

func (*AddRequest) XXX_Merge

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

func (*AddRequest) XXX_Size

func (m *AddRequest) XXX_Size() int

func (*AddRequest) XXX_Unmarshal

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

type AddResponse

type AddResponse struct {
	C                    int32    `protobuf:"varint,1,opt,name=c,proto3" json:"c,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AddResponse) Descriptor

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

func (*AddResponse) GetC

func (m *AddResponse) GetC() int32

func (*AddResponse) ProtoMessage

func (*AddResponse) ProtoMessage()

func (*AddResponse) Reset

func (m *AddResponse) Reset()

func (*AddResponse) String

func (m *AddResponse) String() string

func (*AddResponse) XXX_DiscardUnknown

func (m *AddResponse) XXX_DiscardUnknown()

func (*AddResponse) XXX_Marshal

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

func (*AddResponse) XXX_Merge

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

func (*AddResponse) XXX_Size

func (m *AddResponse) XXX_Size() int

func (*AddResponse) XXX_Unmarshal

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

type ChangeProfileRequest

type ChangeProfileRequest struct {
	Pictures             []*GactusFile `protobuf:"bytes,1,rep,name=pictures,proto3" json:"pictures,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*ChangeProfileRequest) Descriptor

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

func (*ChangeProfileRequest) GetPictures

func (m *ChangeProfileRequest) GetPictures() []*GactusFile

func (*ChangeProfileRequest) ProtoMessage

func (*ChangeProfileRequest) ProtoMessage()

func (*ChangeProfileRequest) Reset

func (m *ChangeProfileRequest) Reset()

func (*ChangeProfileRequest) String

func (m *ChangeProfileRequest) String() string

func (*ChangeProfileRequest) XXX_DiscardUnknown

func (m *ChangeProfileRequest) XXX_DiscardUnknown()

func (*ChangeProfileRequest) XXX_Marshal

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

func (*ChangeProfileRequest) XXX_Merge

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

func (*ChangeProfileRequest) XXX_Size

func (m *ChangeProfileRequest) XXX_Size() int

func (*ChangeProfileRequest) XXX_Unmarshal

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

type ChangeProfileResponse

type ChangeProfileResponse struct {
	FileSize             uint32   `protobuf:"varint,1,opt,name=file_size,json=fileSize,proto3" json:"file_size,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ChangeProfileResponse) Descriptor

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

func (*ChangeProfileResponse) GetFileSize

func (m *ChangeProfileResponse) GetFileSize() uint32

func (*ChangeProfileResponse) ProtoMessage

func (*ChangeProfileResponse) ProtoMessage()

func (*ChangeProfileResponse) Reset

func (m *ChangeProfileResponse) Reset()

func (*ChangeProfileResponse) String

func (m *ChangeProfileResponse) String() string

func (*ChangeProfileResponse) XXX_DiscardUnknown

func (m *ChangeProfileResponse) XXX_DiscardUnknown()

func (*ChangeProfileResponse) XXX_Marshal

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

func (*ChangeProfileResponse) XXX_Merge

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

func (*ChangeProfileResponse) XXX_Size

func (m *ChangeProfileResponse) XXX_Size() int

func (*ChangeProfileResponse) XXX_Unmarshal

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

type GactusFile

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

func (*GactusFile) Descriptor

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

func (*GactusFile) GetContent

func (m *GactusFile) GetContent() []byte

func (*GactusFile) GetName

func (m *GactusFile) GetName() string

func (*GactusFile) ProtoMessage

func (*GactusFile) ProtoMessage()

func (*GactusFile) Reset

func (m *GactusFile) Reset()

func (*GactusFile) String

func (m *GactusFile) String() string

func (*GactusFile) XXX_DiscardUnknown

func (m *GactusFile) XXX_DiscardUnknown()

func (*GactusFile) XXX_Marshal

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

func (*GactusFile) XXX_Merge

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

func (*GactusFile) XXX_Size

func (m *GactusFile) XXX_Size() int

func (*GactusFile) XXX_Unmarshal

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

type SubtractRequest

type SubtractRequest struct {
	A                    int32    `protobuf:"varint,1,opt,name=a,proto3" json:"a,omitempty"`
	B                    int32    `protobuf:"varint,2,opt,name=b,proto3" json:"b,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SubtractRequest) Descriptor

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

func (*SubtractRequest) GetA

func (m *SubtractRequest) GetA() int32

func (*SubtractRequest) GetB

func (m *SubtractRequest) GetB() int32

func (*SubtractRequest) ProtoMessage

func (*SubtractRequest) ProtoMessage()

func (*SubtractRequest) Reset

func (m *SubtractRequest) Reset()

func (*SubtractRequest) String

func (m *SubtractRequest) String() string

func (*SubtractRequest) XXX_DiscardUnknown

func (m *SubtractRequest) XXX_DiscardUnknown()

func (*SubtractRequest) XXX_Marshal

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

func (*SubtractRequest) XXX_Merge

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

func (*SubtractRequest) XXX_Size

func (m *SubtractRequest) XXX_Size() int

func (*SubtractRequest) XXX_Unmarshal

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

type SubtractResponse

type SubtractResponse struct {
	C                    int32    `protobuf:"varint,1,opt,name=c,proto3" json:"c,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SubtractResponse) Descriptor

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

func (*SubtractResponse) GetC

func (m *SubtractResponse) GetC() int32

func (*SubtractResponse) ProtoMessage

func (*SubtractResponse) ProtoMessage()

func (*SubtractResponse) Reset

func (m *SubtractResponse) Reset()

func (*SubtractResponse) String

func (m *SubtractResponse) String() string

func (*SubtractResponse) XXX_DiscardUnknown

func (m *SubtractResponse) XXX_DiscardUnknown()

func (*SubtractResponse) XXX_Marshal

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

func (*SubtractResponse) XXX_Merge

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

func (*SubtractResponse) XXX_Size

func (m *SubtractResponse) XXX_Size() int

func (*SubtractResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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