Documentation ¶
Index ¶
- func New(dgraph *dgo.Dgraph, options ...Option) dgx.Dogma
- type Option
- func NewComputedPropertyHandlerOption(handler dgx.ComputedPropertiesHandler) Option
- func NewIdentityProviderOption(provider dgx.IdentityProvider) Option
- func NewModelDictionaryOption(dic map[string][]gql.GraphQuery) Option
- func NewMultiLanguageFieldsOption(multiLanguageFields map[string][]string) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(g *dogma) error
Option allows setting different options on the Dogma instance
func NewComputedPropertyHandlerOption ¶
func NewComputedPropertyHandlerOption(handler dgx.ComputedPropertiesHandler) Option
func NewIdentityProviderOption ¶
func NewIdentityProviderOption(provider dgx.IdentityProvider) Option
func NewModelDictionaryOption ¶
func NewModelDictionaryOption(dic map[string][]gql.GraphQuery) Option
Click to show internal directories.
Click to hide internal directories.