Documentation
¶
Index ¶
- func CreateOrUpdate(userID int, token string) error
- func CreateSource(userID int, source string) error
- func DeleteSource(userID int, source string) (int64, error)
- func GetSources(userID int) ([]string, error)
- func GetToken(userID int) (string, error)
- func InitDB(dbSettings DbSettings) error
- type DbSettings
- type User
- type UserSource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteSource ¶
DeleteSource for user
Types ¶
type DbSettings ¶
DbSettings for Db
Click to show internal directories.
Click to hide internal directories.