multiview

package
v0.0.0-...-7ece11e Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenPayload

func GenPayload(
	filePriKey string,
	pubGroup map[int]map[int][]int,
	From map[int]uint64,
	To map[int]uint64,
	fileOut string,
)

func ListPrivateToPayLoad

func ListPrivateToPayLoad(
	priList *PrivateList,
	PubGroup map[int]map[int][]int,
	From map[int]uint64,
	To map[int]uint64,
) (
	res map[string]Scene,
)

func MiningKeyFromPrivateKey

func MiningKeyFromPrivateKey(priKey string) string

Types

type PrivateList

type PrivateList struct {
	KeyMap map[byte][]string `json:"KeyMap"`
}

func LoadKeyList

func LoadKeyList(filename string) *PrivateList

type Scene

type Scene struct {
	From     uint64              `json:"From"`
	To       uint64              `json:"To"`
	PubGroup map[string][]string `json:"PublishGroup"`
}

Jump to

Keyboard shortcuts

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