Documentation ¶
Index ¶
- func ReleaseAlert(a *Alert)
- type Alert
- func (a *Alert) Count() int
- func (a *Alert) GetLastChangeTime() time.Time
- func (a *Alert) GetStartTime() time.Time
- func (a *Alert) Inc()
- func (a *Alert) Level() Level
- func (a *Alert) Marshal() ([]byte, error)
- func (a *Alert) MarshalLua() *lua.LTable
- func (a *Alert) Name() string
- func (a *Alert) SetName(name string)
- func (a *Alert) Unmarshal(src []byte) error
- func (a *Alert) UpdateLevel(level Level)
- type Level
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReleaseAlert ¶ added in v0.2.0
func ReleaseAlert(a *Alert)
Types ¶
type Alert ¶
type Alert struct {
// contains filtered or unexported fields
}
func AcquireAlert ¶ added in v0.2.0
func AcquireAlert() *Alert
func (*Alert) GetLastChangeTime ¶
func (*Alert) GetStartTime ¶
func (*Alert) MarshalLua ¶ added in v0.3.2
func (*Alert) UpdateLevel ¶
Click to show internal directories.
Click to hide internal directories.