dtype

package
v0.0.0-...-910d698 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

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

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

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

type ReqPoStorage struct {
	Hash      string `json:"Hash"`
	Timestamp int64  `json:"Timestamp"`
}

type ResPoStorage

type ResPoStorage struct {
	Addr  string `json:"Address"`
	SC    int    `json:"storage_class"`
	Proof string `json:"Proof"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL