contracts/resource.go

10 lines
216 B
Go
Raw Permalink Normal View History

2023-04-12 16:56:55 +08:00
package contracts
2024-05-09 13:15:24 +08:00
import "git.fsdpf.net/go/req"
2023-04-12 16:56:55 +08:00
// 资源
2024-05-09 13:15:24 +08:00
type GetResource func(code string) (req.Resource, bool)
2024-05-09 13:50:45 +08:00
// 获取用户
type GetUser func(uuid string, options ...req.UserRuntimeOption) (req.User, error)