docsgen
This commit is contained in:
parent
5388f3e6f8
commit
9f2015e850
@ -123,6 +123,8 @@ func init() {
|
|||||||
addExample(retrievalmarket.DealStatusNew)
|
addExample(retrievalmarket.DealStatusNew)
|
||||||
addExample(network.ReachabilityPublic)
|
addExample(network.ReachabilityPublic)
|
||||||
addExample(build.NewestNetworkVersion)
|
addExample(build.NewestNetworkVersion)
|
||||||
|
addExample(map[string]int{"name": 42})
|
||||||
|
addExample(map[string]time.Time{"name": time.Unix(1615243938, 0)})
|
||||||
addExample(&types.ExecutionTrace{
|
addExample(&types.ExecutionTrace{
|
||||||
Msg: exampleValue("init", reflect.TypeOf(&types.Message{}), nil).(*types.Message),
|
Msg: exampleValue("init", reflect.TypeOf(&types.Message{}), nil).(*types.Message),
|
||||||
MsgRct: exampleValue("init", reflect.TypeOf(&types.MessageReceipt{}), nil).(*types.MessageReceipt),
|
MsgRct: exampleValue("init", reflect.TypeOf(&types.MessageReceipt{}), nil).(*types.MessageReceipt),
|
||||||
|
@ -1064,7 +1064,17 @@ Response:
|
|||||||
"ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf",
|
"ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf",
|
||||||
"Agent": "string value",
|
"Agent": "string value",
|
||||||
"Addrs": null,
|
"Addrs": null,
|
||||||
"Protocols": null
|
"Protocols": null,
|
||||||
|
"ConnMgrMeta": {
|
||||||
|
"FirstSeen": "0001-01-01T00:00:00Z",
|
||||||
|
"Value": 123,
|
||||||
|
"Tags": {
|
||||||
|
"name": 42
|
||||||
|
},
|
||||||
|
"Conns": {
|
||||||
|
"name": "2021-03-08T23:52:18+01:00"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -2906,7 +2906,17 @@ Response:
|
|||||||
"ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf",
|
"ID": "12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf",
|
||||||
"Agent": "string value",
|
"Agent": "string value",
|
||||||
"Addrs": null,
|
"Addrs": null,
|
||||||
"Protocols": null
|
"Protocols": null,
|
||||||
|
"ConnMgrMeta": {
|
||||||
|
"FirstSeen": "0001-01-01T00:00:00Z",
|
||||||
|
"Value": 123,
|
||||||
|
"Tags": {
|
||||||
|
"name": 42
|
||||||
|
},
|
||||||
|
"Conns": {
|
||||||
|
"name": "2021-03-08T23:52:18+01:00"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user