mirror of
https://github.com/openimsdk/open-im-server.git
synced 2026-05-19 16:29:01 +08:00
Error code standardization
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
package controller
|
||||
|
||||
import "context"
|
||||
|
||||
type AuthInterface interface {
|
||||
GetTokens(ctx context.Context, userID, platform string) (map[string]int, error)
|
||||
DeleteToken(ctx context.Context, userID, platform string) error
|
||||
}
|
||||
Reference in New Issue
Block a user