Documentation ¶
Index ¶
- Constants
- func AssignPathContext(ctx context.Context, path string) context.Context
- func ContextForPath(path string) (context.Context, error)
- func Drivers() []string
- func Modes() []string
- func PathForContext(ctx context.Context) (string, error)
- func Register(name string, driver Driver)
- type Driver
- type Indexer
- type IndexerContextKey
- type IndexerFunc
Constants ¶
View Source
const (
STDIN = "STDIN"
)
Variables ¶
This section is empty.
Functions ¶
func AssignPathContext ¶ added in v0.2.0
Types ¶
type Indexer ¶
type Indexer struct { Driver Driver Func IndexerFunc Logger *log.WOFLogger Indexed int64 // contains filtered or unexported fields }
func NewIndexer ¶
func NewIndexer(dsn string, f IndexerFunc) (*Indexer, error)
func (*Indexer) IndexPaths ¶
func (*Indexer) IsIndexing ¶
type IndexerContextKey ¶
type IndexerContextKey string
Click to show internal directories.
Click to hide internal directories.