1
0
mirror of https://github.com/robertkrimen/otto synced 2025-09-28 18:45:22 +08:00
otto/registry
2012-10-10 16:17:36 -07:00
..
README.markdown Add README.markdown for registry 2012-10-10 16:17:36 -07:00
registry.go Add note about the registry package 2012-10-10 16:10:07 -07:00

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 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