package
Version:
v1.4.34
Opens a new window with list of versions in this module.
Published: Dec 20, 2023
License: GPL-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Auth struct {
Type string `bson:"type" json:"type"`
Value string `bson:"value" json:"value"`
AppId string `bson:"appId,omitempty" json:"appId,omitempty"`
}
type Url struct {
ID primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"`
Url string `bson:"url,omitempty"`
UpdateAt time.Time `bson:"updateAt,omitempty" json:"updateAt,omitempty"`
CreateAt time.Time `bson:"createAt,omitempty" json:"createAt,omitempty"`
}
type User struct {
ID primitive.ObjectID `bson:"_id,omitempty" json:"id,omitempty"`
UpdateAt time.Time `bson:"updateAt,omitempty" json:"updateAt,omitempty"`
CreateAt time.Time `bson:"createAt,omitempty" json:"createAt,omitempty"`
Password string `bson:"password,omitempty" json:"password,omitempty"`
Auth []*Auth `bson:"auth,omitempty" json:"auth,omitempty"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.