contracts/base/res_listener.go

14 lines
372 B
Go
Raw Permalink Normal View History

2023-04-12 16:56:55 +08:00
package base
type ResListener struct {
2023-07-30 17:04:09 +08:00
Uuid string `db:"uuid"`
Code string `db:"code"`
Name string `db:"name"`
ResourceUuid string `db:"resource_uuid"`
Event []any `db:"event"`
UpdatedAt string `db:"updated_at"`
CreatedAt string `db:"created_at"`
2023-04-12 16:56:55 +08:00
}
2023-04-12 19:50:25 +08:00
type GetResListens func(categoryUuid string, event ...string) []ResListener