user

package
v0.0.0-...-e41513e Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package user is a generated protocol buffer package.

It is generated from these files:

profile_photo_ids.proto

It has these top-level messages:

ProfilePhotoIds

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitUserModel

func InitUserModel(dbName string) (*userModel, error)

Types

type ProfilePhotoIds

type ProfilePhotoIds struct {
	Default int64   `protobuf:"varint,1,opt,name=default" json:"default,omitempty"`
	IdList  []int64 `protobuf:"varint,2,rep,packed,name=id_list,json=idList" json:"id_list,omitempty"`
}

func MakeProfilePhotoData

func MakeProfilePhotoData(jsonData string) *ProfilePhotoIds

func (*ProfilePhotoIds) AddPhotoId

func (m *ProfilePhotoIds) AddPhotoId(id int64)

func (*ProfilePhotoIds) Descriptor

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

func (*ProfilePhotoIds) GetDefault

func (m *ProfilePhotoIds) GetDefault() int64

func (*ProfilePhotoIds) GetIdList

func (m *ProfilePhotoIds) GetIdList() []int64

func (*ProfilePhotoIds) ProtoMessage

func (*ProfilePhotoIds) ProtoMessage()

func (*ProfilePhotoIds) RemovePhotoId

func (m *ProfilePhotoIds) RemovePhotoId(id int64) int64

func (*ProfilePhotoIds) Reset

func (m *ProfilePhotoIds) Reset()

func (*ProfilePhotoIds) String

func (m *ProfilePhotoIds) String() string

func (*ProfilePhotoIds) ToJson

func (m *ProfilePhotoIds) ToJson() string

Jump to

Keyboard shortcuts

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