Help us shape the future of Go! Take the 2026 Go Developer Survey

db

package
v0.3.45 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Source

type Source struct {
	// contains filtered or unexported fields
}

Source is a runtime source that registers CoreDB management functions. These are mutation functions for export, import, description sync, index recreation, and schema reset operations.

func New

func New() *Source

func (*Source) AsModule

func (s *Source) AsModule() bool

func (*Source) Attach

func (s *Source) Attach(ctx context.Context, pool *db.Pool) error

func (*Source) Catalog

func (s *Source) Catalog(_ context.Context) (sources.Catalog, error)

func (*Source) Engine

func (s *Source) Engine() engines.Engine

func (*Source) IsReadonly

func (s *Source) IsReadonly() bool

func (*Source) Name

func (s *Source) Name() string

Jump to

Keyboard shortcuts

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