Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteNode ¶
func DeleteProfile ¶
func DeleteUser ¶
Types ¶
type Node ¶
type Profile ¶
type Profile struct {
Id primitive.ObjectID `json:"id" bson:"_id"`
Name string `json:"name"`
Inbound inboundDetourConfig `json:"inbound"`
Outbound *conf.OutboundDetourConfig `json:"outbound"`
NodeId primitive.ObjectID `json:"nodeId" bson:"nodeId"`
}
func FindProfile ¶
func FindProfiles ¶
type User ¶
type User struct {
Id primitive.ObjectID `json:"id" bson:"_id"`
Name string `json:"name"`
Email string `json:"email"`
Level uint32 `json:"level"`
BillingDate *time.Time `json:"billingDate" bson:"billingDate"`
Account map[string]json.RawMessage `json:"account"`
Profiles map[primitive.ObjectID]string `json:"profiles"`
}
func (*User) RemoveProfile ¶
Click to show internal directories.
Click to hide internal directories.