Discover Packages
github.com/junwookheo/bcsos
common
dtype
package
Version:
v0.0.0-...-910d698
Opens a new window with list of versions in this module.
Published: Jul 24, 2023
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Command struct {
Cmd string `json:"cmd"`
Subcmd string `json:"subcmd"`
Arg1 string `json:"arg1"`
Arg2 string `json:"arg2"`
Arg3 string `json:"arg3"`
}
type NodeInfo struct {
Mode string `json:"mode"`
SC int `json:"storage_class"`
IP string `json:"ip"`
Port int `json:"port"`
Hash string `json:"hash"`
}
type ReqData struct {
Addr string `json:"Addr"`
Timestamp int64 `json:"Timestamp"`
SC int `json:"storage_class"`
Hop int `json:"Hop"`
ObjType string `json:"ObjType"`
ObjHash string `json:"ObjHash"`
}
type ReqPoStorage struct {
Hash string `json:"Hash"`
Timestamp int64 `json:"Timestamp"`
}
type ResPoStorage struct {
Addr string `json:"Address"`
SC int `json:"storage_class"`
Proof string `json:"Proof"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.