Documentation
¶
Index ¶
- type GenericError
- type GetIdentityPathParams
- type GetIdentityPathRequest
- type GetIdentityPathResponse
- type IndexRequest
- type IndexResponse
- type JoinParams
- type JoinRequest
- type JoinResponse
- type OpenParams
- type OpenRequest
- type OpenResponse
- type ProposeParams
- type ProposeRequest
- type ProposeResponse
- type VoteParams
- type VoteRequest
- type VoteResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GenericError ¶
type GenericError struct {
// in: body
Body struct {
Code int32 `json:"code"`
Message string `json:"message"`
} `json:"body"`
}
A GenericError is the default error message that is generated. For certain status codes there are more appropriate error structures.
swagger:response genericError
type GetIdentityPathParams ¶
type GetIdentityPathParams struct {
SubjectHash string `json:"subjectHash"`
IdentityCommitment string `json:"identityCommitment"`
}
GetIdentityPathParams ...
type GetIdentityPathRequest ¶
type GetIdentityPathRequest struct {
*GetIdentityPathParams
}
GetIdentityPathRequest ...
type GetIdentityPathResponse ¶
type GetIdentityPathResponse struct {
// in: body
Results struct {
Path []string `json:"path"`
Index []int `json:"index"`
Root string `json:"root"`
} `json:"results"`
}
GetIdentityPathResponse ...
type IndexResponse ¶
IndexResponse ...
type JoinParams ¶
type JoinParams struct {
SubjectHash string `json:"subjectHash"`
IdentityCommitment string `json:"identityCommitment"`
}
JoinParams ...
type JoinResponse ¶
type JoinResponse struct {
// in: body
Results string `json:"results"`
}
JoinResponse ...
type OpenResponse ¶
type OpenResponse struct {
// in: body
Results struct {
Yes int `json:"yes"`
No int `json:"no"`
} `json:"results"`
}
OpenResponse ...
type ProposeParams ¶
type ProposeParams struct {
Title string `json:"title"`
Description string `json:"description"`
IdentityCommitment string `json:"identityCommitment"`
}
ProposeParams ...
type ProposeResponse ¶
type ProposeResponse struct {
// in: body
Results string `json:"results"`
}
ProposeResponse ...
type VoteParams ¶
VoteParams ...
type VoteResponse ¶
type VoteResponse struct {
// in: body
Results string `json:"results"`
}
VoteResponse ...
Click to show internal directories.
Click to hide internal directories.