Documentation ¶
Index ¶
- type JSONCache
- func (cache JSONCache) AddJSON(name string, json string)
- func (cache JSONCache) AddVariable(jsonName string, name string, value string)
- func (cache JSONCache) GetJSON(key string) (json string, hasJSON bool)
- func (cache JSONCache) GetVariable(jsonName string, name string) (value string, hasVariable bool)
- type Resolver
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONCache ¶
func NewJSONCache ¶
func NewJSONCache() (cache JSONCache)
func (JSONCache) AddVariable ¶
type Resolver ¶
type Resolver struct {
VariableCache JSONCache
}
func NewResolver ¶
func NewResolver() (resolver Resolver)
func (Resolver) ResolveVariableFromJSON ¶
Click to show internal directories.
Click to hide internal directories.