Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateUserRequest ¶
type CreateUserRequest struct { User string `bson:"createUser"` Password string `bson:"pwd"` Roles []Role `bson:"roles"` }
Requests
type DropUserRequest ¶
type DropUserRequest struct {
User string `bson:"dropUser"`
}
type UpdateUserRequest ¶
type UserInfo ¶
type UserInfo struct { Id *string `bson:"_id"` User *string `bson:"user"` Database *string `bson:"db"` Roles []Role `bson:"roles"` }
Types
type UserInfoRequest ¶
type UserInfoRequest struct {
User string `bson:"usersInfo"`
}
type UsersInfoResponse ¶
Click to show internal directories.
Click to hide internal directories.