Documentation ¶
Index ¶
- Variables
- func CheckStatusActive(ps ...model.Participant) error
- func ExtractActiveParticipants(ps []model.Participant) []model.Participant
- func GenerateSHA256Hash(key string) string
- func GetSecretPhrase() string
- func GetServiceUrl(urlTemplate string, participantId string) (string, error)
- type ParticipantStatusError
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 ¶
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
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
Click to show internal directories.
Click to hide internal directories.