primedb

package
v0.0.0-...-6eb9fc1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	DSN  string `env:"DSN"  envDefault:"" comment:"DSN = primedb://[netloc][:port] complete connection string"`
	Host string `env:"HOST" envDefault:"127.0.0.1"  comment:"The host to connect to (required)"`
	Port int32  `env:"PORT" envDefault:"7540" comment:"The port to bind to (default: 7540)"`
}

type Options

type Options struct {
	Name string
}

type Plugin

type Plugin interface {
	toolkit.Plugin
	DB() primedb.DB
	Info()
}

func NewPlugin

func NewPlugin(rnt runtime.Runtime, opts *Options) Plugin

Jump to

Keyboard shortcuts

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