explorer

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Explorers = NewFactory()

Explorers is a factory for explorer

Functions

This section is empty.

Types

type Factory

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

Factory is a factory for Explorer

func NewFactory

func NewFactory() *Factory

NewFactory initializes factory Formatter

func (*Factory) Get

func (f *Factory) Get(_type string) (model.ExplorePath, error)

Get gets an explorer based on a specified type

func (*Factory) Register

func (f *Factory) Register(_type string, fn model.ExplorePath) error

Register registers an explorer based on the type

Jump to

Keyboard shortcuts

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