package
0.21.6
Repository: https://github.com/neuronlabs/neuron.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

New creates new service for provided controller config.
WithAuthenticator sets the authenticator option.
WithDefaultFileStore sets the default file store for the service.
DefaultNotNullFields sets the non-pointer model fields to not null by default.
WithDefaultRepository sets the default repository for all models without specified repository.
WithDefaultStore sets the default store for the service.
WithFileStore sets the service store 's' obtainable at 'name'.
WithHandleSignal is the option that determines if the os signals should be handled by the service.
WithMigrateModels is the option that sets the models to migrate in their repositories.
WithModels is the option that sets the models for given service.
WithNamingConvention sets the naming convention option.
WithRepositoryModels maps the repository 'r' to provided 'models'.
WithServer sets the service server option.
WithStore sets the service store 's' obtainable at 'name'.
WithSynchronousConnections defines if the service should query repositories synchronously.
WithTimeFunc sets the time function for the service.
WithTokener sets provided tokener for the service options.
WithVerifier sets the authorization verifier for the service.

# Structs

Options is the structure that contains service options.
Service is the neuron service struct definition.

# Interfaces

Closer is an interface that closes all connection for given instance.
Dialer is an interface that starts the connection for the store.

# Type aliases

Option is the function that sets the options for the service.