identitySearch

package
v0.0.0-...-0d5ed35 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2023 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block struct {
	Number int
	Bct    int64
}

type CH

type CH struct {
	Uid  string
	Hist ListS
}

type CertEvent

type CertEvent struct {
	In    bool
	Block Block
}

type CertEvents

type CertEvents []CertEvent

type CertHist

type CertHist struct {
	Id   *Identity
	Hist CertEvents
}

type CertHists

type CertHists []CertHist

type Certification0

type Certification0 struct {
	From,
	To *Identity
	Expires_on int64
	Pending    bool
}

type Certifications

type Certifications []*Certification0

type Certifics

type Certifics struct {
	PresentCertifiers,
	PresentCertified string
	ReceivedCerts,
	SentCerts ListS
	SortedByDateL,
	SortedByDate string
	ReceivedByLimits,
	SentByLimits ListS
	AllCertifiers,
	AllCertified string
	ReceivedAllCerts,
	SentAllCerts ListS
	AllCertifiersIO,
	AllCertifiedIO string
	ReceivedAllCertsIO,
	SentAllCertsIO ListCH
}

type Distance

type Distance struct {
	Value   Fraction
	Dist_ok bool
}

type Find

type Find struct {
	IdNumbers string
	Ids       IdHashes
	Select,
	SelectedHash,
	DistChecked,
	CheckDist,
	QualChecked,
	CheckQual,
	CentrChecked,
	CheckCentr string
}

type FindRes

type FindRes struct {
	Data struct {
		Now      *Block
		IdSearch *IdSearchOutput
	}
}

type Fix

type Fix struct {
	Id *Idty
	Dist,
	DistE,
	Qual,
	QualE,
	Centr string
	Cs *Certifics
}

type FixRes

type FixRes struct {
	Data struct {
		Now        *Block
		IdFromHash *Identity
	}
}

type Fraction

type Fraction struct {
	Num,
	Denom int
	Ratio float64
}

type Hist

type Hist struct {
	Label,
	Legend string
	List ListS
}

type History

type History []HistoryEvent0

type HistoryEvent0

type HistoryEvent0 struct {
	In    bool
	Block *Block
}

type IdHash

type IdHash struct {
	Hash,
	Uid string
}

type IdHashes

type IdHashes []*IdHash

type IdSearchOutput

type IdSearchOutput struct {
	RevokedNb,
	MissingNb,
	MemberNb,
	NewcomerNb int
	Ids Identities
}

type Identities

type Identities []*Identity

type Identity

type Identity struct {
	Hash   B.Hash
	Uid    string
	Pubkey B.Pubkey
	Id_written_block,
	LastApplication,
	PendingApplication *Block
	LimitDate,
	CertsLimit int64
	Status                       string
	Sentry                       bool
	Membership_pending           bool
	Membership_pending_limitDate int64
	MinDate                      int64
	MinDatePassed                bool
	History                      History
	Received_certifications,
	Sent_certifications Certifications
	All_certifiers,
	All_certified Identities
	All_certifiersIO,
	All_certifiedIO CertHists
	Distance,
	DistanceE *Distance
	Quality,
	QualityE *Fraction
	Centrality float64
}

type Idty

type Idty struct {
	Uid,
	Pubkey,
	Hash,
	Status,
	Sentry,
	Block,
	LastApp,
	PendingApp,
	LimitDate,
	Availability,
	Pending string
	History *Hist
}

type ListCH

type ListCH []CH

type ListI

type ListI []int64

type ListS

type ListS []string

type NowRes

type NowRes struct {
	Data struct {
		Now *Block
	}
}

type Out

type Out struct {
	Start *Start
	Find  *Find
	Fix   *Fix
	OK    string
}

type Start

type Start struct {
	Title,
	Now,
	Placeholder,
	Hint,
	RevokedChecked,
	CheckRevoked,
	MissingChecked,
	CheckMissing,
	MemberChecked,
	CheckMember,
	NewcomerChecked,
	CheckNewcomer string
}

Jump to

Keyboard shortcuts

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