Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitDBEngine ¶
InitDBEngine In case of problems connecting to DB, retry connection. Eg, PGSQL in Docker Container on Synology
func ProtocolMiddlewares ¶
func ProtocolMiddlewares() (handlers []any)
ProtocolMiddlewares returns HTTP protocol related middlewares, and it provides a global panic recovery
Types ¶
type AuthResult ¶
type AuthResult struct { Doer *user_model.User IsBasicAuth bool }
Click to show internal directories.
Click to hide internal directories.