package
Version:
v0.0.0-...-92e3287
Opens a new window with list of versions in this module.
Published: Dec 7, 2019
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Set adds the received data into the register
type Component struct {
Scope []Scope
NewFromJSON func(b []byte) (interface{}, error)
}
Component contains the scope and the module factory
Register is the struct containing all the martian components
Get retrieves a copy of the register
Scope defines the scope of the component
const (
ScopeRequest Scope = "request"
ScopeResponse Scope = "response"
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.