registry

package
Version: v0.0.0-...-994542e Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2019 License: MIT Imports: 0 Imported by: 0

README

registry

-- import "github.com/robertkrimen/otto/registry"

Package registry is an expirmental package to facillitate altering the otto runtime via import.

This interface can change at any time.

Usage

func Apply
func Apply(callback func(Entry))
type Entry
type Entry struct {
}
func Register
func Register(source func() string) *Entry
func (*Entry) Disable
func (self *Entry) Disable()
func (*Entry) Enable
func (self *Entry) Enable()
func (Entry) Source
func (self Entry) Source() string

-- godocdown http://github.com/robertkrimen/godocdown

Documentation

Overview

Package registry is an expirmental package to facillitate altering the otto runtime via import.

This interface can change at any time.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(callback func(Entry))

Types

type Entry

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

func Register

func Register(source func() string) *Entry

func (*Entry) Disable

func (self *Entry) Disable()

func (*Entry) Enable

func (self *Entry) Enable()

func (Entry) Source

func (self Entry) Source() string

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL