# README
gogitsu/core
# Functions
BadGateway http error.
BadRequest http error.
Conflict http error.
Forbidden http error.
GatewayTimeout http error.
InternalServerError http error.
MethodNotAllowed http error.
NetworkAuthenticationRequired http error.
NewDBConfigurator .
NewDefaultGormDBManager return a new empty gorm db manager instance.
NewGorillaRouter return a new GorillaRouter instance.
NewGorillaRouterWithRoot return a new GorillaRouter with root path instance.
NewGormDBManager return a new gorm db manager instance configured and ready to connect.
NewGormRepository returns a new gorm repository instance.
NewHTTPError returns a new HTTPError instance.
NewRouter is the factory function to instantiate a new Router according to the input router type.
NewRouterWithRootPath is the factory function to instantiate a new Router according to the input router type and root path.
NoContent http error.
NotAcceptable http error.
NotFound http error.
NotImplemented http error.
RenderError exported to be used in this lib (a.e.
RequestTimeout http error.
ServiceUnavailable http error.
Unauthorized http error.
UnprocessableEntity http error.
# Constants
Gorilla is the string identifier for Gorilla Mux implemenetation.
MSsqlConnectionStringFormat to create a connection string for Microsoft SQL Server.
MSsqlType to create a connection.
MySQLConnectionStringFormat to create a connection string for MySQL.
MySQLType to create a connection.
PostgresType to create a connection.
PostresConnectionStringFormat to create a connection string for Postgres.
Sqlite3Type to create a connection.
# Structs
BaseController .
DBConfig is the configuration struct to set database info for the DBManager initialization.
DBConfigurator .
No description provided by the author
GormDBManager is the GORM based implementation for DBManager.
GormRepository is the base repository implemented with gorm.
HTTPError implements Error interface.
# Interfaces
Controller .
DBManager is the contract intrface for a db manager implementation.
Error is an error whose details to be shared with client.
Repository is the contract interface for a db repository.
No description provided by the author
# Type aliases
TxFunction is a function to be executed in a transaction.
No description provided by the author