participant

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LOGGER = logging.MustGetLogger("participant-util")

Functions

func CheckStatusActive

func CheckStatusActive(ps ...model.Participant) error

func ExtractActiveParticipants

func ExtractActiveParticipants(ps []model.Participant) []model.Participant

func GenerateSHA256Hash

func GenerateSHA256Hash(key string) string

This function would accept one string value as argument and generate SHA256 value key with Stellar's HashX encoding. This would be used as signer of an account.

func GetSecretPhrase

func GetSecretPhrase() string

func GetServiceUrl

func GetServiceUrl(urlTemplate string, participantId string) (string, error)

Types

type ParticipantStatusError

type ParticipantStatusError struct {
	// contains filtered or unexported fields
}

func (*ParticipantStatusError) Error

func (err *ParticipantStatusError) Error() string

func (*ParticipantStatusError) GetNotActiveParticipants

func (err *ParticipantStatusError) GetNotActiveParticipants() []model.Participant

Jump to

Keyboard shortcuts

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