mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-02 06:02:26 -06:00
further yak shaving
This commit is contained in:
parent
b8e0f33c35
commit
54c4b8de20
9 changed files with 282 additions and 39 deletions
|
|
@ -46,13 +46,14 @@ type Service interface {
|
|||
|
||||
// Config provides configuration options for the database connection
|
||||
type Config struct {
|
||||
Type string
|
||||
Address string
|
||||
Port int
|
||||
User string
|
||||
Password string
|
||||
Database string
|
||||
ApplicationName string
|
||||
Type string `json:"type,omitempty"`
|
||||
Address string `json:"address,omitempty"`
|
||||
Port int `json:"port,omitempty"`
|
||||
User string `json:"user,omitempty"`
|
||||
Password string `json:"password,omitempty"`
|
||||
PasswordFile string `json:"passwordFile,omitempty"`
|
||||
Database string `json:"database,omitempty"`
|
||||
ApplicationName string `json:"applicationName,omitempty"`
|
||||
}
|
||||
|
||||
// NewService returns a new database service that satisfies the Service interface and, by extension,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue