status-go/vendor/github.com/robertkrimen/otto/registry
Victor Farazdagi 5fb4aef1cc Initial refactoring + vendor update (after rebase) 2016-09-15 06:12:25 +03:00
..
README.markdown Initial refactoring + vendor update (after rebase) 2016-09-15 06:12:25 +03:00
registry.go Initial refactoring + vendor update (after rebase) 2016-09-15 06:12:25 +03:00

README.markdown

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