10 lines
270 B
Go
10 lines
270 B
Go
package interfaces
|
|
|
|
import "context"
|
|
|
|
// AccountKindProvider 为 JWT / 用户资料 提供 account_kind
|
|
type AccountKindProvider interface {
|
|
// AccountKind 返回 shared/auth 中的 AccountKind* 常量
|
|
AccountKind(ctx context.Context, userID string) (string, error)
|
|
}
|