Discover Packages
github.com/gerladeno/homie-core
internal
models
package
Version:
v0.0.0-...-39a0b88
Opens a new window with list of versions in this module.
Published: May 27, 2022
License: GPL-3.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
Documentation
¶
type Config struct {
UUID string `json:"uuid,omitempty"`
Personal *Personal `json:"personal,omitempty"`
Criteria *SearchCriteria `json:"criteria,omitempty"`
Settings *Settings `json:"settings,omitempty"`
}
type Personal struct {
UUID string `json:"uuid,omitempty"`
Username string `json:"username"`
AvatarLink string `json:"avatar_link"`
Gender Gender `json:"gender"`
Age int8 `json:"age"`
}
type Profile struct {
UUID string `json:"uuid,omitempty"`
Personal *Personal `json:"personal,omitempty"`
Criteria *SearchCriteria `json:"criteria,omitempty"`
}
type Range struct {
From *float64 `json:"from,omitempty"`
To *float64 `json:"to,omitempty"`
}
type Region struct {
ID int64 `json:"id"`
Name string `json:"name"`
Description string `json:"description"`
}
type SearchCriteria struct {
UUID string `json:"uuid,omitempty"`
Regions []int64 `json:"regions"`
PriceRange Range `json:"price_range"`
Gender Gender `json:"gender"`
AgeRange Range `json:"age_range"`
}
type Settings struct {
UUID string `json:"uuid,omitempty"`
Theme int64 `json:"theme"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.