mgdb

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: MIT Imports: 10 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 source

func New

func New(options ...source.Option) (*Source, error)

New source

func (*Source) GetExtend

func (s *Source) GetExtend() source.Scheme

GetExtend get extend

func (*Source) Open

func (s *Source) Open(string) (fs.File, error)

Open method Get not implemented

func (*Source) ReadFile

func (s *Source) ReadFile(name string) ([]byte, error)

ReadFile read file

func (*Source) Watch added in v0.1.5

func (s *Source) Watch(_ source.Entity, _ func([]byte, any) error) error

Jump to

Keyboard shortcuts

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