Documentation ¶
Index ¶
- Constants
- type Client
- func (c *Client) GetCurrentState() (*kzgceremony.State, error)
- func (c *Client) GetCurrentStatus() (*MsgStatus, error)
- func (c *Client) GetRequestLink() (*MsgRequestLink, error)
- func (c *Client) PostAbortContribution(sessionID string) ([]byte, error)
- func (c *Client) PostAuthCallback() (*MsgRequestLink, error)
- func (c *Client) PostContribute(sessionID string, bc *kzgceremony.BatchContribution) (*MsgContributeReceipt, error)
- func (c *Client) PostTryContribute(sessionID string) (*kzgceremony.BatchContribution, Status, error)
- type IDToken
- type MsgAuthCallback
- type MsgContributeReceipt
- type MsgRequestLink
- type MsgStatus
- type Status
Constants ¶
View Source
const ( StatusReauth = Status(iota) StatusError StatusWait StatusProceed )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetCurrentState ¶
func (c *Client) GetCurrentState() (*kzgceremony.State, error)
func (*Client) GetCurrentStatus ¶
func (*Client) GetRequestLink ¶
func (c *Client) GetRequestLink() (*MsgRequestLink, error)
func (*Client) PostAbortContribution ¶
func (*Client) PostAuthCallback ¶
func (c *Client) PostAuthCallback() (*MsgRequestLink, error)
func (*Client) PostContribute ¶
func (c *Client) PostContribute(sessionID string, bc *kzgceremony.BatchContribution) (*MsgContributeReceipt, error)
func (*Client) PostTryContribute ¶
func (c *Client) PostTryContribute(sessionID string) (*kzgceremony.BatchContribution, Status, error)
type MsgAuthCallback ¶
type MsgContributeReceipt ¶
type MsgContributeReceipt struct { Receipt string `json:"receipt"` Signature string `json:"signature"` }
func (MsgContributeReceipt) String ¶
func (m MsgContributeReceipt) String() string
type MsgRequestLink ¶
Click to show internal directories.
Click to hide internal directories.