subject

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

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 IndexRequest

type IndexRequest struct{}

IndexRequest ...

type IndexResponse

type IndexResponse struct {
	// in: body
	Results []map[string]string `json:"results"`
}

IndexResponse ...

type JoinParams

type JoinParams struct {
	SubjectHash        string `json:"subjectHash"`
	IdentityCommitment string `json:"identityCommitment"`
}

JoinParams ...

type JoinRequest

type JoinRequest struct {
	*JoinParams
}

JoinRequest ...

type JoinResponse

type JoinResponse struct {
	// in: body
	Results string `json:"results"`
}

JoinResponse ...

type OpenParams

type OpenParams struct {
	SubjectHash string `json:"subjectHash"`
}

OpenParams ...

type OpenRequest

type OpenRequest struct {
	*OpenParams
}

OpenRequest ...

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 ProposeRequest

type ProposeRequest struct {
	*ProposeParams
}

ProposeRequest ...

type ProposeResponse

type ProposeResponse struct {
	// in: body
	Results string `json:"results"`
}

ProposeResponse ...

type VoteParams

type VoteParams struct {
	SubjectHash string `json:"subjectHash"`
	Proof       string `json:"proof"`
}

VoteParams ...

type VoteRequest

type VoteRequest struct {
	*VoteParams
}

VoteRequest ...

type VoteResponse

type VoteResponse struct {
	// in: body
	Results string `json:"results"`
}

VoteResponse ...

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL