models

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2019 License: GPL-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const ADMINTABLE = "Admin_"

ADMINTABLE - Table name in onchain

View Source
const COMMITTABLE = "Commit_"

COMMITTABLE - Table name in onchain

View Source
const PROPOSALTABLE = "Proposal_"

PROPOSALTABLE - Table name in onchain

View Source
const QUORUMTABLE = "Quorum_"

QUORUMTABLE - Table name in onchain

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin

type Admin struct {
	AdminID   string `json:"AdminID"`
	Name      string `json:"Name"`
	PublicKey string `json:"PublicKey"`
	Status    string `json:"Status"`
}

Admin - struct

type Commit

type Commit struct {
	CommitID   string   `json:"CommitID"`
	AdminID    string   `json:"AdminID"`
	ProposalID string   `json:"ProposalID"`
	QuorumList []string `json:"QuorumList"`
	Status     string   `json:"Status"`
}

Commit - struct

type Proposal

type Proposal struct {
	ProposalID     string `json:"ProposalID"`
	Data           string `json:"Data"`
	Status         string `json:"Status"`
	CreateDateTime string `json:"CreateDateTime"`
}

Proposal - struct

type Quorum

type Quorum struct {
	QuorumID   string `json:"QuorumID"`
	AdminID    string `json:"AdminID"`
	ProposalID string `json:"ProposalID"`
	Status     string `json:"Status"`
}

Quorum - struct

Jump to

Keyboard shortcuts

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