Documentation ¶
Index ¶
- Variables
- func AddContext(value ...interface{})
- func ConstructorConfig() config.Configurable
- func ConstructorDb() *gorm.DB
- func ConstructorI18N() *i18n.I18n
- func ConstructorMiddleware() *middleware.Middleware
- func Ctx(app *app.Application, key interface{}, value interface{}) context.Context
- func CtxStruct(app *app.Application, value interface{}) context.Context
- func Database() *gorm.DB
- func Start()
- type GraphQlMutations
- type GraphQlQueries
- type JwtTokenRule
- type Rule
Constants ¶
This section is empty.
Variables ¶
View Source
var ( App app.Application Middleware *middleware.Middleware )
Functions ¶
func AddContext ¶
func AddContext(value ...interface{})
*
/ Function add new value in context which there are in / App struct. / Depending on count parameters / One: key name struct / Two:key choose
func ConstructorConfig ¶
func ConstructorConfig() config.Configurable
func ConstructorDb ¶
func ConstructorI18N ¶
TODO Hmmm, I think use Pipline all for serial download
func ConstructorMiddleware ¶
func ConstructorMiddleware() *middleware.Middleware
Types ¶
type GraphQlMutations ¶
func (GraphQlMutations) Add ¶
func (g GraphQlMutations) Add(name string, field *graphql.Field) GraphQlMutations
* / Methods add new field (query or mutations) in GraphQl{types}..
type GraphQlQueries ¶
func (GraphQlQueries) Add ¶
func (g GraphQlQueries) Add(name string, field *graphql.Field) GraphQlQueries
type JwtTokenRule ¶
type JwtTokenRule struct {
// contains filtered or unexported fields
}
func (JwtTokenRule) Verify ¶
func (jwt JwtTokenRule) Verify(support interface{}) bool
Source Files ¶
Click to show internal directories.
Click to hide internal directories.