Documentation
¶
Index ¶
- Constants
- type APIRequest
- func (comm *APIRequest) GetUUID() (string, error)
- func (req *APIRequest) Prepare(signer *crypto.Signer, meta *Metadata, body []byte) error
- func (req *APIRequest) Respond(signer *crypto.Signer, meta *Metadata, body []byte) (*APIResponse, error)
- func (req *APIRequest) Verify(signer *crypto.Signer) (bool, error)
- type APIResponse
- type ApiHeader
- type Metadata
Constants ¶
View Source
const STANDARD_VERSION string = "2.0"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIRequest ¶ added in v0.9.0
func (*APIRequest) Respond ¶ added in v0.9.0
func (req *APIRequest) Respond(signer *crypto.Signer, meta *Metadata, body []byte) (*APIResponse, error)
type APIResponse ¶ added in v0.9.0
func (*APIResponse) Verify ¶ added in v0.9.0
func (res *APIResponse) Verify(signer *crypto.Signer, req *APIRequest) (bool, error)
Click to show internal directories.
Click to hide internal directories.