Documentation ¶
Index ¶
- func FirstUpdate()
- func HandleImage(event config.Event) (string, error)
- func InsertItemImage(item struct{ ... }, bound image.Rectangle, rgba *image.RGBA) error
- func InsertLineInventory(rgba *image.RGBA, dc *gg.Context, inv []struct{ ... }, line int, count int)
- func LogError(err error)
- func NewCronScheduler() (*cron.Cron, error)
- func ProcessKillDeathEvent(event config.Event)
- func UpdateKillDeath()
- func UpdateMember()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FirstUpdate ¶
func FirstUpdate()
Because in multithread and async, get db data can be old => Conflict in updating timestamp Therefore first run to update the latest data before can go cron
func InsertItemImage ¶
func InsertLineInventory ¶
func InsertLineInventory( rgba *image.RGBA, dc *gg.Context, inv []struct { Type string `json:"Type,omitempty"` Count int `json:"Count,omitempty"` Quality int `json:"Quality,omitempty"` ActiveSpells []any `json:"ActiveSpells,omitempty"` PassiveSpells []any `json:"PassiveSpells,omitempty"` }, line int, count int, )
func NewCronScheduler ¶
func NewCronScheduler() (*cron.Cron, error)
func ProcessKillDeathEvent ¶
ProcessKillDeathEvent returns timeStamp event string
func UpdateKillDeath ¶
func UpdateKillDeath()
func UpdateMember ¶
func UpdateMember()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.