Documentation
¶
Overview ¶
Package webapi Web API
This is the API for the application.
Swagger 2.0 Spec - generated by [go-swagger](https://github.com/go-swagger/go-swagger)
Schemes: http Host: localhost:8080 BasePath: / Version: 2.0
Consumes: - application/x-www-form-urlencoded
Produces: - application/json
SecurityDefinitions: token:
type: apiKey name: Authorization in: header description: "The following syntax must be used in the Authorization header: Bearer TOKEN"
swagger:meta
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppConfig ¶
type AppConfig struct { Database database.Connection `json:"Database"` Server server.Config `json:"Server"` JWT webtoken.Configuration `json:"JWT"` }
AppConfig contains the application settings with JSON tags.
Directories
¶
Path | Synopsis |
---|---|
cmd
|
|
internal
|
|
pkg
|
|
env
Package env will fill a struct from environment variables.
|
Package env will fill a struct from environment variables. |
logger
Package logger standardizes the logging functions available to your team.
|
Package logger standardizes the logging functions available to your team. |
passhash
Package passhash provides password hashing functionality using bcrypt.
|
Package passhash provides password hashing functionality using bcrypt. |
Click to show internal directories.
Click to hide internal directories.