Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Profile ¶
type Profile struct { // Mode can be "prod" or "dev" or "demo" Mode string // Addr is the binding address for server Addr string // Port is the binding port for server Port int // Data is the data directory Data string // DSN points to where memos stores its own data DSN string // Driver is the database driver // sqlite, mysql Driver string // Version is the current version of server Version string // Pubic is the flag whether the instance is public for others. Public bool // PasswordAuth is the flag whether the instance uses password authentication. PasswordAuth bool }
Profile is the configuration to start main server.
Click to show internal directories.
Click to hide internal directories.