_5_data

package
v0.0.0-...-24b7180 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 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 User

type User struct {
	ID      int    `json:"id"`
	Name    string `json:"name"`
	Email   string `json:"email"`
	City    string `json:"city"`
	Country string `json:"country"`
}

type UserFixed

type UserFixed struct {
	ID                   int64    `protobuf:"varint,1,opt,name=ID,proto3" json:"ID,omitempty"`
	Name                 string   `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	Email                string   `protobuf:"bytes,3,opt,name=Email,proto3" json:"Email,omitempty"`
	City                 string   `protobuf:"bytes,4,opt,name=City,proto3" json:"City,omitempty"`
	Country              string   `protobuf:"bytes,5,opt,name=Country,proto3" json:"Country,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UserFixed) Descriptor

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

func (*UserFixed) GetCity

func (m *UserFixed) GetCity() string

func (*UserFixed) GetCountry

func (m *UserFixed) GetCountry() string

func (*UserFixed) GetEmail

func (m *UserFixed) GetEmail() string

func (*UserFixed) GetID

func (m *UserFixed) GetID() int64

func (*UserFixed) GetName

func (m *UserFixed) GetName() string

func (*UserFixed) ProtoMessage

func (*UserFixed) ProtoMessage()

func (*UserFixed) Reset

func (m *UserFixed) Reset()

func (*UserFixed) String

func (m *UserFixed) String() string

func (*UserFixed) XXX_DiscardUnknown

func (m *UserFixed) XXX_DiscardUnknown()

func (*UserFixed) XXX_Marshal

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

func (*UserFixed) XXX_Merge

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

func (*UserFixed) XXX_Size

func (m *UserFixed) XXX_Size() int

func (*UserFixed) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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