Documentation ¶
Index ¶
- Constants
- type ResourcesApp
- func (app *ResourcesApp) InitNativeRenderingControllers(loggerService domainlogger.Logger, responseService response.Responder) []controller.Controller
- func (app *ResourcesApp) InitRestApiControllers(cacheService cacher.Cacher, loggerService domainlogger.Logger, ...) []controller.Controller
- func (app *ResourcesApp) InitStaticServingControllers(loggerService domainlogger.Logger, responseService response.Responder) []controller.Controller
- func (app *ResourcesApp) Run(mWg *sync.WaitGroup)
Constants ¶
View Source
const DefaultDatabaseTimeout = time.Second * 10
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourcesApp ¶
type ResourcesApp struct {
// contains filtered or unexported fields
}
func NewResourcesApp ¶
func NewResourcesApp() *ResourcesApp
func (*ResourcesApp) InitNativeRenderingControllers ¶ added in v0.0.4
func (app *ResourcesApp) InitNativeRenderingControllers( loggerService domainlogger.Logger, responseService response.Responder, ) []controller.Controller
func (*ResourcesApp) InitRestApiControllers ¶ added in v0.0.4
func (app *ResourcesApp) InitRestApiControllers( cacheService cacher.Cacher, loggerService domainlogger.Logger, responseService response.Responder, resourceBuilder builder.Resource, resourceService domainresource.CRUD, videoBuilder builder.Video, videoService domainvideo.CRUD, userBuilder builder.User, userService domainuser.CRUD, authBuilder builder.Auth, authService domainauth.Authenticator, ) []controller.Controller
func (*ResourcesApp) InitStaticServingControllers ¶ added in v0.0.4
func (app *ResourcesApp) InitStaticServingControllers( loggerService domainlogger.Logger, responseService response.Responder, ) []controller.Controller
func (*ResourcesApp) Run ¶
func (app *ResourcesApp) Run(mWg *sync.WaitGroup)
Run is method which running the REST API part of app
Click to show internal directories.
Click to hide internal directories.