Documentation
¶
Index ¶
Constants ¶
View Source
const SystemOperator = "system"
Variables ¶
View Source
var SystemUser = &commonpb.UserInfo{ Id: SystemOperator, Name: SystemOperator, Nick: SystemOperator, }
Functions ¶
Types ¶
type Interface ¶
type Interface interface {
pb.UserServiceServer
}
type USERID ¶
type USERID string
const (
UnassignedUserID USERID = "unassigned"
)
func (USERID) IsUnassigned ¶
func (*USERID) UnmarshalJSON ¶
maybe int or string, unmarshal them to string(USERID)
type UserInfo ¶
type UserInfo struct {
*commonpb.UserInfo
SessionRefresh *identitypb.SessionRefresh
}
type UserScopeInfo ¶
type UserScopeInfo struct {
OrgID uint64 `json:"orgId"`
}
Click to show internal directories.
Click to hide internal directories.