sqlite

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sqlite

type Sqlite struct {
	// Name of the core storage
	Name string `json:"name" yaml:"name" hcl:"name,label"`
	// Path to database file
	Path string `json:"path" yaml:"path" hcl:"path"`
	// Timeout value
	Timeout int `json:"timeout" yaml:"timeout" hcl:"timeout,optional"`

	// TableAlerts is config for Alerts table
	TableAlerts tables.TableAlerts `json:"tableAlerts" yaml:"tableAlerts" hcl:"tableAlerts,block"`
	// TableKV is config for KV table
	TableKV tables.TableKV `json:"tableKV" yaml:"tableKV" hcl:"tableKV,block"`
}

Sqlite core storage config

func (Sqlite) Validate

func (cfg Sqlite) Validate() error

Validate config

Jump to

Keyboard shortcuts

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