Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type Environment struct {
Datasources struct {
MongoDB struct {
Uri string `mapstructure:"uri"`
} `mapstructure:"mongodb"`
Redis struct {
Uri string `mapstructure:"uri"`
Password string `mapstructure:"password"`
} `mapstructure:"redis"`
Neo4j struct {
Uri string `mapstructure:"uri"`
Username string `mapstructure:"username"`
Password string `mapstructure:"password"`
} `mapstructure:"neo4j"`
} `mapstructure:"datasources"`
}
type Relationship ¶
Relationship represents the Relationship message.
type User ¶
type User struct {
Id string
Name string
Lastname string
PhoneNumber string
Status string // 'pending', 'verified', 'deactivated'
Email string
Password string
AboutMe string
Religion string
Score int64
Age int32
Height float32
Weight float32
Pictures []string
LastConnection time.Time
CreationDate time.Time
Gender Gender
LastLocation Location
Relationship []Relationship // what the user is looking for
Work []Work // optinal logs for formal work experience like linkedin
Education []Education // optional logs for formal education like linkedin
Tags []Thing // concepts that the user associate to itself
Likes []Thing
Dislikes []Thing
}
User represents the User message.
Click to show internal directories.
Click to hide internal directories.