softplayer-backend/internal/consts/consts.go

19 lines
458 B
Go
Raw Normal View History

2024-04-03 18:05:23 +00:00
package consts
2024-05-06 16:00:31 +00:00
import (
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
)
2024-04-03 18:05:23 +00:00
const (
USERNAME_LABEL_KEY = "username"
EMAIL_VERIFIED_LABEL_KEY = "email-verified"
EMAIL_VERIFIED_LABEL_TRUE = "true"
EMAIL_VERIFIED_LABEL_FALSE = "false"
SOFTPLAYER_ACCOUNTS_NAMESPACE = "softplayer-accounts"
)
2024-05-06 16:00:31 +00:00
var (
ErrSystemError = status.Error(codes.Internal, "a system error occured, we will try to fix it as soon as possible")
)