Documentation ¶
Overview ¶
This is auto generated code
This is auto generated code ¶
This is auto generated code ¶
This is auto generated code ¶
This is auto generated code ¶
This is auto generated code
Index ¶
- type EventDKGResultSubmissionPromise
- func (p *EventDKGResultSubmissionPromise) Fail(err error) error
- func (p *EventDKGResultSubmissionPromise) Fulfill(value *event.DKGResultSubmission) error
- func (p *EventDKGResultSubmissionPromise) OnComplete(onComplete func(*event.DKGResultSubmission, error)) *EventDKGResultSubmissionPromise
- func (p *EventDKGResultSubmissionPromise) OnFailure(onFailure func(error)) *EventDKGResultSubmissionPromise
- func (p *EventDKGResultSubmissionPromise) OnSuccess(onSuccess func(*event.DKGResultSubmission)) *EventDKGResultSubmissionPromise
- type EventEntryGeneratedPromise
- func (p *EventEntryGeneratedPromise) Fail(err error) error
- func (p *EventEntryGeneratedPromise) Fulfill(value *event.EntryGenerated) error
- func (p *EventEntryGeneratedPromise) OnComplete(onComplete func(*event.EntryGenerated, error)) *EventEntryGeneratedPromise
- func (p *EventEntryGeneratedPromise) OnFailure(onFailure func(error)) *EventEntryGeneratedPromise
- func (p *EventEntryGeneratedPromise) OnSuccess(onSuccess func(*event.EntryGenerated)) *EventEntryGeneratedPromise
- type EventEntrySubmittedPromise
- func (p *EventEntrySubmittedPromise) Fail(err error) error
- func (p *EventEntrySubmittedPromise) Fulfill(value *event.EntrySubmitted) error
- func (p *EventEntrySubmittedPromise) OnComplete(onComplete func(*event.EntrySubmitted, error)) *EventEntrySubmittedPromise
- func (p *EventEntrySubmittedPromise) OnFailure(onFailure func(error)) *EventEntrySubmittedPromise
- func (p *EventEntrySubmittedPromise) OnSuccess(onSuccess func(*event.EntrySubmitted)) *EventEntrySubmittedPromise
- type EventGroupRegistrationPromise
- func (p *EventGroupRegistrationPromise) Fail(err error) error
- func (p *EventGroupRegistrationPromise) Fulfill(value *event.GroupRegistration) error
- func (p *EventGroupRegistrationPromise) OnComplete(onComplete func(*event.GroupRegistration, error)) *EventGroupRegistrationPromise
- func (p *EventGroupRegistrationPromise) OnFailure(onFailure func(error)) *EventGroupRegistrationPromise
- func (p *EventGroupRegistrationPromise) OnSuccess(onSuccess func(*event.GroupRegistration)) *EventGroupRegistrationPromise
- type EventGroupTicketSubmissionPromise
- func (p *EventGroupTicketSubmissionPromise) Fail(err error) error
- func (p *EventGroupTicketSubmissionPromise) Fulfill(value *event.GroupTicketSubmission) error
- func (p *EventGroupTicketSubmissionPromise) OnComplete(onComplete func(*event.GroupTicketSubmission, error)) *EventGroupTicketSubmissionPromise
- func (p *EventGroupTicketSubmissionPromise) OnFailure(onFailure func(error)) *EventGroupTicketSubmissionPromise
- func (p *EventGroupTicketSubmissionPromise) OnSuccess(onSuccess func(*event.GroupTicketSubmission)) *EventGroupTicketSubmissionPromise
- type EventRequestPromise
- func (p *EventRequestPromise) Fail(err error) error
- func (p *EventRequestPromise) Fulfill(value *event.Request) error
- func (p *EventRequestPromise) OnComplete(onComplete func(*event.Request, error)) *EventRequestPromise
- func (p *EventRequestPromise) OnFailure(onFailure func(error)) *EventRequestPromise
- func (p *EventRequestPromise) OnSuccess(onSuccess func(*event.Request)) *EventRequestPromise
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EventDKGResultSubmissionPromise ¶
type EventDKGResultSubmissionPromise struct {
// contains filtered or unexported fields
}
Promise represents an eventual completion of an ansynchronous operation and its resulting value. Promise can be either fulfilled or failed and it can happen only one time. All Promise operations are thread-safe.
To create a promise use: `&EventDKGResultSubmissionPromise{}`
func (*EventDKGResultSubmissionPromise) Fail ¶
func (p *EventDKGResultSubmissionPromise) Fail(err error) error
Fail can happen only once for a Promise and it results in calling the OnFailure callback, if registered. If Promise has been already completed by either fulfilling or failing, this function reports an error. Also, this function reports an error if `err` parameter is `nil`.
func (*EventDKGResultSubmissionPromise) Fulfill ¶
func (p *EventDKGResultSubmissionPromise) Fulfill(value *event.DKGResultSubmission) error
Fulfill can happen only once for a Promise and it results in calling the OnSuccess callback, if registered. If Promise has been already completed by either fulfilling or failing, this function reports an error.
func (*EventDKGResultSubmissionPromise) OnComplete ¶
func (p *EventDKGResultSubmissionPromise) OnComplete(onComplete func(*event.DKGResultSubmission, error)) *EventDKGResultSubmissionPromise
OnComplete registers a function to be called when the Promise execution completed no matter if it succeded or failed. In case of a successful execution, error passed to the callback function is nil. In case of a failed execution, there is no value evaluated so the value parameter is nil. OnComplete is a non-blocking operation. Only one on complete function can be registered for a Promise. If the Promise has already completed, the function is called immediatelly.
func (*EventDKGResultSubmissionPromise) OnFailure ¶
func (p *EventDKGResultSubmissionPromise) OnFailure(onFailure func(error)) *EventDKGResultSubmissionPromise
OnFailure registers a function to be called when the Promise execution failed. In case of a fulfilled Promise, function is not called at all. OnFailure is a non-blocking operation. Only one on failure function can be registered for a Promise. If the Promise has already failed, the function is called immediatelly.
func (*EventDKGResultSubmissionPromise) OnSuccess ¶
func (p *EventDKGResultSubmissionPromise) OnSuccess(onSuccess func(*event.DKGResultSubmission)) *EventDKGResultSubmissionPromise
OnSuccess registers a function to be called when the Promise has been fulfilled. In case of a failed Promise, function is not called at all. OnSuccess is a non-blocking operation. Only one on success function can be registered for a Promise. If the Promise has been already fulfilled, the function is called immediatelly.
type EventEntryGeneratedPromise ¶
type EventEntryGeneratedPromise struct {
// contains filtered or unexported fields
}
Promise represents an eventual completion of an ansynchronous operation and its resulting value. Promise can be either fulfilled or failed and it can happen only one time. All Promise operations are thread-safe.
To create a promise use: `&EventEntryGeneratedPromise{}`
func (*EventEntryGeneratedPromise) Fail ¶
func (p *EventEntryGeneratedPromise) Fail(err error) error
Fail can happen only once for a Promise and it results in calling the OnFailure callback, if registered. If Promise has been already completed by either fulfilling or failing, this function reports an error. Also, this function reports an error if `err` parameter is `nil`.
func (*EventEntryGeneratedPromise) Fulfill ¶
func (p *EventEntryGeneratedPromise) Fulfill(value *event.EntryGenerated) error
Fulfill can happen only once for a Promise and it results in calling the OnSuccess callback, if registered. If Promise has been already completed by either fulfilling or failing, this function reports an error.
func (*EventEntryGeneratedPromise) OnComplete ¶
func (p *EventEntryGeneratedPromise) OnComplete(onComplete func(*event.EntryGenerated, error)) *EventEntryGeneratedPromise
OnComplete registers a function to be called when the Promise execution completed no matter if it succeded or failed. In case of a successful execution, error passed to the callback function is nil. In case of a failed execution, there is no value evaluated so the value parameter is nil. OnComplete is a non-blocking operation. Only one on complete function can be registered for a Promise. If the Promise has already completed, the function is called immediatelly.
func (*EventEntryGeneratedPromise) OnFailure ¶
func (p *EventEntryGeneratedPromise) OnFailure(onFailure func(error)) *EventEntryGeneratedPromise
OnFailure registers a function to be called when the Promise execution failed. In case of a fulfilled Promise, function is not called at all. OnFailure is a non-blocking operation. Only one on failure function can be registered for a Promise. If the Promise has already failed, the function is called immediatelly.
func (*EventEntryGeneratedPromise) OnSuccess ¶
func (p *EventEntryGeneratedPromise) OnSuccess(onSuccess func(*event.EntryGenerated)) *EventEntryGeneratedPromise
OnSuccess registers a function to be called when the Promise has been fulfilled. In case of a failed Promise, function is not called at all. OnSuccess is a non-blocking operation. Only one on success function can be registered for a Promise. If the Promise has been already fulfilled, the function is called immediatelly.
type EventEntrySubmittedPromise ¶
type EventEntrySubmittedPromise struct {
// contains filtered or unexported fields
}
Promise represents an eventual completion of an ansynchronous operation and its resulting value. Promise can be either fulfilled or failed and it can happen only one time. All Promise operations are thread-safe.
To create a promise use: `&EventEntrySubmittedPromise{}`
func (*EventEntrySubmittedPromise) Fail ¶
func (p *EventEntrySubmittedPromise) Fail(err error) error
Fail can happen only once for a Promise and it results in calling the OnFailure callback, if registered. If Promise has been already completed by either fulfilling or failing, this function reports an error. Also, this function reports an error if `err` parameter is `nil`.
func (*EventEntrySubmittedPromise) Fulfill ¶
func (p *EventEntrySubmittedPromise) Fulfill(value *event.EntrySubmitted) error
Fulfill can happen only once for a Promise and it results in calling the OnSuccess callback, if registered. If Promise has been already completed by either fulfilling or failing, this function reports an error.
func (*EventEntrySubmittedPromise) OnComplete ¶
func (p *EventEntrySubmittedPromise) OnComplete(onComplete func(*event.EntrySubmitted, error)) *EventEntrySubmittedPromise
OnComplete registers a function to be called when the Promise execution completed no matter if it succeded or failed. In case of a successful execution, error passed to the callback function is nil. In case of a failed execution, there is no value evaluated so the value parameter is nil. OnComplete is a non-blocking operation. Only one on complete function can be registered for a Promise. If the Promise has already completed, the function is called immediatelly.
func (*EventEntrySubmittedPromise) OnFailure ¶
func (p *EventEntrySubmittedPromise) OnFailure(onFailure func(error)) *EventEntrySubmittedPromise
OnFailure registers a function to be called when the Promise execution failed. In case of a fulfilled Promise, function is not called at all. OnFailure is a non-blocking operation. Only one on failure function can be registered for a Promise. If the Promise has already failed, the function is called immediatelly.
func (*EventEntrySubmittedPromise) OnSuccess ¶
func (p *EventEntrySubmittedPromise) OnSuccess(onSuccess func(*event.EntrySubmitted)) *EventEntrySubmittedPromise
OnSuccess registers a function to be called when the Promise has been fulfilled. In case of a failed Promise, function is not called at all. OnSuccess is a non-blocking operation. Only one on success function can be registered for a Promise. If the Promise has been already fulfilled, the function is called immediatelly.
type EventGroupRegistrationPromise ¶
type EventGroupRegistrationPromise struct {
// contains filtered or unexported fields
}
Promise represents an eventual completion of an ansynchronous operation and its resulting value. Promise can be either fulfilled or failed and it can happen only one time. All Promise operations are thread-safe.
To create a promise use: `&EventGroupRegistrationPromise{}`
func (*EventGroupRegistrationPromise) Fail ¶
func (p *EventGroupRegistrationPromise) Fail(err error) error
Fail can happen only once for a Promise and it results in calling the OnFailure callback, if registered. If Promise has been already completed by either fulfilling or failing, this function reports an error. Also, this function reports an error if `err` parameter is `nil`.
func (*EventGroupRegistrationPromise) Fulfill ¶
func (p *EventGroupRegistrationPromise) Fulfill(value *event.GroupRegistration) error
Fulfill can happen only once for a Promise and it results in calling the OnSuccess callback, if registered. If Promise has been already completed by either fulfilling or failing, this function reports an error.
func (*EventGroupRegistrationPromise) OnComplete ¶
func (p *EventGroupRegistrationPromise) OnComplete(onComplete func(*event.GroupRegistration, error)) *EventGroupRegistrationPromise
OnComplete registers a function to be called when the Promise execution completed no matter if it succeded or failed. In case of a successful execution, error passed to the callback function is nil. In case of a failed execution, there is no value evaluated so the value parameter is nil. OnComplete is a non-blocking operation. Only one on complete function can be registered for a Promise. If the Promise has already completed, the function is called immediatelly.
func (*EventGroupRegistrationPromise) OnFailure ¶
func (p *EventGroupRegistrationPromise) OnFailure(onFailure func(error)) *EventGroupRegistrationPromise
OnFailure registers a function to be called when the Promise execution failed. In case of a fulfilled Promise, function is not called at all. OnFailure is a non-blocking operation. Only one on failure function can be registered for a Promise. If the Promise has already failed, the function is called immediatelly.
func (*EventGroupRegistrationPromise) OnSuccess ¶
func (p *EventGroupRegistrationPromise) OnSuccess(onSuccess func(*event.GroupRegistration)) *EventGroupRegistrationPromise
OnSuccess registers a function to be called when the Promise has been fulfilled. In case of a failed Promise, function is not called at all. OnSuccess is a non-blocking operation. Only one on success function can be registered for a Promise. If the Promise has been already fulfilled, the function is called immediatelly.
type EventGroupTicketSubmissionPromise ¶
type EventGroupTicketSubmissionPromise struct {
// contains filtered or unexported fields
}
Promise represents an eventual completion of an ansynchronous operation and its resulting value. Promise can be either fulfilled or failed and it can happen only one time. All Promise operations are thread-safe.
To create a promise use: `&EventGroupTicketSubmissionPromise{}`
func (*EventGroupTicketSubmissionPromise) Fail ¶
func (p *EventGroupTicketSubmissionPromise) Fail(err error) error
Fail can happen only once for a Promise and it results in calling the OnFailure callback, if registered. If Promise has been already completed by either fulfilling or failing, this function reports an error. Also, this function reports an error if `err` parameter is `nil`.
func (*EventGroupTicketSubmissionPromise) Fulfill ¶
func (p *EventGroupTicketSubmissionPromise) Fulfill(value *event.GroupTicketSubmission) error
Fulfill can happen only once for a Promise and it results in calling the OnSuccess callback, if registered. If Promise has been already completed by either fulfilling or failing, this function reports an error.
func (*EventGroupTicketSubmissionPromise) OnComplete ¶
func (p *EventGroupTicketSubmissionPromise) OnComplete(onComplete func(*event.GroupTicketSubmission, error)) *EventGroupTicketSubmissionPromise
OnComplete registers a function to be called when the Promise execution completed no matter if it succeded or failed. In case of a successful execution, error passed to the callback function is nil. In case of a failed execution, there is no value evaluated so the value parameter is nil. OnComplete is a non-blocking operation. Only one on complete function can be registered for a Promise. If the Promise has already completed, the function is called immediatelly.
func (*EventGroupTicketSubmissionPromise) OnFailure ¶
func (p *EventGroupTicketSubmissionPromise) OnFailure(onFailure func(error)) *EventGroupTicketSubmissionPromise
OnFailure registers a function to be called when the Promise execution failed. In case of a fulfilled Promise, function is not called at all. OnFailure is a non-blocking operation. Only one on failure function can be registered for a Promise. If the Promise has already failed, the function is called immediatelly.
func (*EventGroupTicketSubmissionPromise) OnSuccess ¶
func (p *EventGroupTicketSubmissionPromise) OnSuccess(onSuccess func(*event.GroupTicketSubmission)) *EventGroupTicketSubmissionPromise
OnSuccess registers a function to be called when the Promise has been fulfilled. In case of a failed Promise, function is not called at all. OnSuccess is a non-blocking operation. Only one on success function can be registered for a Promise. If the Promise has been already fulfilled, the function is called immediatelly.
type EventRequestPromise ¶
type EventRequestPromise struct {
// contains filtered or unexported fields
}
Promise represents an eventual completion of an ansynchronous operation and its resulting value. Promise can be either fulfilled or failed and it can happen only one time. All Promise operations are thread-safe.
To create a promise use: `&EventRequestPromise{}`
func (*EventRequestPromise) Fail ¶
func (p *EventRequestPromise) Fail(err error) error
Fail can happen only once for a Promise and it results in calling the OnFailure callback, if registered. If Promise has been already completed by either fulfilling or failing, this function reports an error. Also, this function reports an error if `err` parameter is `nil`.
func (*EventRequestPromise) Fulfill ¶
func (p *EventRequestPromise) Fulfill(value *event.Request) error
Fulfill can happen only once for a Promise and it results in calling the OnSuccess callback, if registered. If Promise has been already completed by either fulfilling or failing, this function reports an error.
func (*EventRequestPromise) OnComplete ¶
func (p *EventRequestPromise) OnComplete(onComplete func(*event.Request, error)) *EventRequestPromise
OnComplete registers a function to be called when the Promise execution completed no matter if it succeded or failed. In case of a successful execution, error passed to the callback function is nil. In case of a failed execution, there is no value evaluated so the value parameter is nil. OnComplete is a non-blocking operation. Only one on complete function can be registered for a Promise. If the Promise has already completed, the function is called immediatelly.
func (*EventRequestPromise) OnFailure ¶
func (p *EventRequestPromise) OnFailure(onFailure func(error)) *EventRequestPromise
OnFailure registers a function to be called when the Promise execution failed. In case of a fulfilled Promise, function is not called at all. OnFailure is a non-blocking operation. Only one on failure function can be registered for a Promise. If the Promise has already failed, the function is called immediatelly.
func (*EventRequestPromise) OnSuccess ¶
func (p *EventRequestPromise) OnSuccess(onSuccess func(*event.Request)) *EventRequestPromise
OnSuccess registers a function to be called when the Promise has been fulfilled. In case of a failed Promise, function is not called at all. OnSuccess is a non-blocking operation. Only one on success function can be registered for a Promise. If the Promise has been already fulfilled, the function is called immediatelly.