Documentation
¶
Index ¶
- type Block
- type Event
- type EventType
- type ExtrinsicData
- type Mapped
- func (r Mapped) Get(key string) Mapped
- func (r Mapped) GetInterface(key string) interface{}
- func (r Mapped) GetSlice(key string) []Mapped
- func (r Mapped) MustInt(key string) uint64
- func (r Mapped) MustString(key string) string
- func (r Mapped) MustStringMap(key string) map[string]string
- func (r Mapped) MustStrings(key string) []string
- type Params
- type RPCBatch
- type RPCError
- type RPCFrame
- type StoredMessage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExtrinsicData ¶ added in v0.1.0
type Mapped ¶
type Mapped map[string]interface{}
func (Mapped) GetInterface ¶
func (Mapped) MustString ¶
func (Mapped) MustStrings ¶
type RPCFrame ¶
type RPCFrame struct {
Id int `json:"id"`
RPC string `json:"jsonrpc"`
Method string `json:"method,omitempty"`
Raw string `json:"raw,omitempty"`
Params Params `json:"params,omitempty"`
Result interface{} `json:"result,omitempty"`
Error *RPCError `json:"error,omitempty"`
}
func NewFrameFrom ¶
func (*RPCFrame) MappedResult ¶
func (*RPCFrame) StringResult ¶
type StoredMessage ¶
type StoredMessage struct {
RPCFrame *RPCFrame `json:"rpcFrame"`
Extrinsic *ExtrinsicData `json:"extrinsic"`
ContainsExtrinsic bool `json:",omitempty"`
}
Click to show internal directories.
Click to hide internal directories.