Documentation
¶
Index ¶
Constants ¶
View Source
const ( PersonaStatusUnknown = "unknown" PersonaStatusAvailable = "available" PersonaStatusAssigned = "assigned" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PersonaSignerQueryRequest ¶
type PersonaSignerQueryRequest struct { PersonaTag string `json:"personaTag"` Tick uint64 `json:"tick"` }
PersonaSignerQueryRequest is the desired request body for the query-persona-signer endpoint.
type PersonaSignerQueryResponse ¶
type PersonaSignerQueryResponse struct { Status string `json:"status"` SignerAddress string `json:"signerAddress"` }
PersonaSignerQueryResponse is used as the response body for the query-persona-signer endpoint. Status can be: "assigned": The requested persona tag has been assigned the returned SignerAddress "unknown": The game tick has not advanced far enough to know what the signer address. SignerAddress will be empty. "available": The game tick has advanced, and no signer address has been assigned. SignerAddress will be empty.
func PersonaSignerQuery ¶
func PersonaSignerQuery(wCtx engine.Context, req *PersonaSignerQueryRequest) (*PersonaSignerQueryResponse, error)
Click to show internal directories.
Click to hide internal directories.