Documentation
¶
Overview ¶
This package contains the nonodo run function. This is separate from the main package to facilitate testing.
Index ¶
Constants ¶
View Source
const ( DefaultHttpPort = 8080 DefaultRollupsPort = 5004 DefaultNamespace = 10008 DefaultMaxOpenConnections = 25 DefaultMaxIdleConnections = 10 DefaultConnMaxLifetime = 30 * time.Minute DefaultConnMaxIdleTime = 5 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
func CreateDBInstance ¶
func CreateDBInstance(opts BootstrapOpts) *sqlx.DB
func NewAbiDecoder ¶
func NewSupervisorGraphQL ¶
func NewSupervisorGraphQL(opts BootstrapOpts) supervisor.SupervisorWorker
Types ¶
type BootstrapOpts ¶
type BootstrapOpts struct {
AutoCount bool
HttpAddress string
HttpPort int
ApplicationAddress string
SqliteFile string
DbImplementation string
TimeoutWorker time.Duration
RawEnabled bool
}
Options to nonodo.
func NewBootstrapOpts ¶
func NewBootstrapOpts() BootstrapOpts
Create the options struct with default values.
Click to show internal directories.
Click to hide internal directories.