ethereal

package module
v0.0.0-...-2ca40e5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2017 License: MIT Imports: 18 Imported by: 0

Documentation

Index

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 ConstructorDb() *gorm.DB

func ConstructorI18N

func ConstructorI18N() *i18n.I18n

TODO Hmmm, I think use Pipline all for serial download

func ConstructorMiddleware

func ConstructorMiddleware() *middleware.Middleware

func Ctx

func Ctx(app *app.Application, key interface{}, value interface{}) context.Context

func CtxStruct

func CtxStruct(app *app.Application, value interface{}) context.Context

* / Add value in Context structure

func Database

func Database() *gorm.DB

func Start

func Start()

Types

type GraphQlMutations

type GraphQlMutations map[string]*graphql.Field

func Mutations

func Mutations() GraphQlMutations

init mutation global

func (GraphQlMutations) Add

* / Methods add new field (query or mutations) in GraphQl{types}..

type GraphQlQueries

type GraphQlQueries map[string]*graphql.Field

func Queries

func Queries() GraphQlQueries

init query global

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

type Rule

type Rule interface {
	Verify(support interface{}) bool
}

Directories

Path Synopsis
root
app

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL