Documentation ¶
Index ¶
- func ConvertMap(in interface{}) interface{}
- type ClientTxPreprocessor
- type DaemonListFactory
- type DaemonLoader
- type EcosystemIDValidator
- type EcosystemLookupGetter
- type EcosystemNameGetter
- type Link
- type Map
- func (m *Map) Clear()
- func (m *Map) Get(key string) (value interface{}, found bool)
- func (m *Map) IsEmpty() bool
- func (m *Map) Keys() []string
- func (m *Map) MarshalJSON() ([]byte, error)
- func (m *Map) Remove(key string)
- func (m *Map) Set(key string, value interface{})
- func (m *Map) Size() int
- func (m *Map) String() string
- func (m *Map) Values() []interface{}
- type Notifications
- type SmartContractRunner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertMap ¶
func ConvertMap(in interface{}) interface{}
Types ¶
type ClientTxPreprocessor ¶
type ClientTxPreprocessor interface {
ProcessClientTranstaction([]byte, int64, *log.Entry) (string, error)
}
ClientTxPreprocessor procees tx from client
type DaemonListFactory ¶
type DaemonListFactory interface {
GetDaemonsList() []string
}
type DaemonLoader ¶
DaemonLoader allow implement different ways for loading daemons
type EcosystemIDValidator ¶
type EcosystemLookupGetter ¶
type EcosystemNameGetter ¶
type Link ¶
type Link struct {
// contains filtered or unexported fields
}
Link represents a node of doubly linked list
type Map ¶
type Map struct {
// contains filtered or unexported fields
}
Map holds the elements in go's native map, also maintains the head and tail link to keep the elements in insertion order
func LoadMap ¶
LoadMap instantiates a linked hash map and initializing it from map[string]interface{}.
func NewFileFromMap ¶
func (*Map) Get ¶
Get searches the element in the map by key and returns its value or nil if key doesn't exists. Second return parameter is true if key was found, otherwise false.
func (*Map) MarshalJSON ¶
type Notifications ¶
Click to show internal directories.
Click to hide internal directories.