aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/robertkrimen/otto/registry/README.markdown
blob: ba2d389090a3d33eae4a4b47bb1fc283e24e1840 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# 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

```go
func Apply(callback func(Entry))
```

#### type Entry

```go
type Entry struct {
}
```


#### func  Register

```go
func Register(source func() string) *Entry
```

#### func (*Entry) Disable

```go
func (self *Entry) Disable()
```

#### func (*Entry) Enable

```go
func (self *Entry) Enable()
```

#### func (Entry) Source

```go
func (self Entry) Source() string
```

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