Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SetupRestfulAPI ¶
type SetupRestfulAPI struct { *config.Config Logger log.Logger Ctx context.Context DB *sqlx.DB Handler http.Handler }
func (SetupRestfulAPI) GetAddr ¶
func (s SetupRestfulAPI) GetAddr() string
func (SetupRestfulAPI) GetConfig ¶
func (s SetupRestfulAPI) GetConfig() *config.Config
func (SetupRestfulAPI) GetContext ¶
func (s SetupRestfulAPI) GetContext() context.Context
func (SetupRestfulAPI) GetDatabase ¶
func (s SetupRestfulAPI) GetDatabase() *sqlx.DB
func (SetupRestfulAPI) GetHttpHandler ¶
func (s SetupRestfulAPI) GetHttpHandler() http.Handler
func (SetupRestfulAPI) GetLogger ¶
func (s SetupRestfulAPI) GetLogger() log.Logger
Click to show internal directories.
Click to hide internal directories.