Documentation ¶
Index ¶
- type IAttach
- type Info
- func (i *Info) GetIValue() int64
- func (i *Info) GetIsDBData() bool
- func (i *Info) GetIsDirty() bool
- func (i *Info) GetKind() int64
- func (i *Info) GetSValue() string
- func (i *Info) GetTypes() int64
- func (i *Info) GetUpdateTime() int64
- func (i *Info) SetIValue(value int64)
- func (i *Info) SetSValue(value string)
- type Setting
- type UserAttach
- func (us *UserAttach) Get(attachkind int64, attachtype int64) *Info
- func (us *UserAttach) GetType(attachkind int64) *map[int64]*Info
- func (us *UserAttach) LoadData()
- func (us *UserAttach) Save()
- func (us *UserAttach) SetAttach(info *Info)
- func (us *UserAttach) SetDBValue(attachKind, attachType int64, SValue string, IValue int64)
- func (us *UserAttach) SetValue(attachKind, attachType int64, SValue string, IValue int64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IAttach ¶
type IAttach interface { LoadData() Get(attachkind int64, attachtype int64) *Info SetValue(attachKind, attachType int64, SValue string, IValue int64) SetAttach(attach *Info) Save() }
IAttach ...
type Info ¶
type Info struct { Kind int64 `json:"kind"` Types int64 `json:"types"` SValue string `json:"sValue"` IValue int64 `json:"iValue"` UpdateTime int64 `json:"updateTime"` IsDirty bool `json:"-"` IsDBData bool `json:"isDBData"` }
Info attach data
type UserAttach ¶
type UserAttach struct {
// contains filtered or unexported fields
}
UserAttach ...
func (*UserAttach) Get ¶
func (us *UserAttach) Get(attachkind int64, attachtype int64) *Info
Get ...
func (*UserAttach) GetType ¶
func (us *UserAttach) GetType(attachkind int64) *map[int64]*Info
GetType ...
func (*UserAttach) SetDBValue ¶
func (us *UserAttach) SetDBValue(attachKind, attachType int64, SValue string, IValue int64)
SetDBValue ...
Click to show internal directories.
Click to hide internal directories.