attestertools

package
v0.0.0-...-9b07614 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: MulanPSL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// ConfName means config file name
	ConfName = "config"
	// ConfExt means config file name suffix
	ConfExt = "yaml"

	// attester config key
	// Server means attesterconfig server
	Server = "attesterconfig.server"
	// Basevalue means attesterconfig basevalue
	Basevalue = "attesterconfig.basevalue"
	// Mspolicy means attesterconfig mspolicy
	Mspolicy = "attesterconfig.mspolicy"
	// Uuid means attesterconfig uuid
	Uuid = "attesterconfig.uuid"
)

Variables

View Source
var (

	// VersionFlag means version flag
	VersionFlag *bool = nil
	// ServerFlag means server flag
	ServerFlag *string = nil
	// BasevalueFlag means basevalue flag
	BasevalueFlag *string = nil
	// MspolicyFlag means mspolicy flag
	MspolicyFlag *int = nil
	// UuidFlag means uuid flag
	UuidFlag *string = nil
	// TestFlag means test flag
	TestFlag *bool = nil
)

Functions

func HandleFlags

func HandleFlags()

HandleFlags handles the command flags.

func InitFlags

func InitFlags()

InitFlags inits the server command flags.

func LoadConfigs

func LoadConfigs()

LoadConfigs searches and loads config from config.yaml file.

func StartAttester

func StartAttester()

StartAttester initializes the parameters of TA and verifies ta report.

Types

This section is empty.

Jump to

Keyboard shortcuts

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