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 FlowViolation
- type IncompatibleModeError
- type LifecycleViolation
- type Metadata
- type ProtocolViolation
- type StandardMismatch
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)
type FlowViolation ¶ added in v0.10.1
type FlowViolation error
type IncompatibleModeError ¶ added in v0.10.1
type IncompatibleModeError error
type LifecycleViolation ¶ added in v0.10.1
type LifecycleViolation error
type ProtocolViolation ¶ added in v0.10.1
type ProtocolViolation error
type StandardMismatch ¶ added in v0.10.1
type StandardMismatch error
Click to show internal directories.
Click to hide internal directories.