voter

package
v0.0.0-...-e5ce005 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Voter

type Voter struct {
	Address   string `json:"address" gorm:"primaryKey"`
	PublicKey string `json:"public_key"`
	Registry  string `json:"registry" gorm:"uniqueIndex"`
}

func New

func New(registry string, sk string) (*Voter, *keystore.KeyStore, error)

func Show

func Show(pvkStr, sk string) (*Voter, error)

Jump to

Keyboard shortcuts

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