Envelope is the protocol header.
| 47 | |
| 48 | // Envelope is the protocol header. |
| 49 | type Envelope struct { |
| 50 | Version string `json:"v"` |
| 51 | TTL time.Duration `json:"t"` |
| 52 | Expire time.Duration `json:"e"` |
| 53 | NodeID *RawNodeID `json:"id"` |
| 54 | _ctx context.Context |
| 55 | } |
| 56 | |
| 57 | // PingReq is Ping RPC request. |
| 58 | type PingReq struct { |
nothing calls this directly
no outgoing calls
no test coverage detected