Documentation ¶
Overview ¶
Package command provides commands for rest/wasm/cli usage.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteNillableResponse ¶
WriteNillableResponse is a utility function that writes v to w. If v is nil then an empty object is written. TODO this capability should be injected into the command implementations.
Types ¶
type AriesHandler ¶
type AriesHandler struct {
Handler
}
AriesHandler implements aries handler.
func (AriesHandler) Handle ¶
func (ah AriesHandler) Handle() command.Exec
Handle execute function of the command.
type Error ¶
type Error interface { error // Code returns error code for this command error. Code() Code // Code returns error type for this command error. Type() Type }
Error is the interface for representing an command error condition, with the nil value representing no error.
func NewExecuteError ¶
NewExecuteError returns new command execute error.
func NewValidationError ¶
NewValidationError returns new command validation error.
type Group ¶
type Group int32
Group is the error groups. Note: recommended to use [0-9]*000 pattern for any new entries. Example: 2000, 3000, 4000 ...... 25000.
Directories ¶
Path | Synopsis |
---|---|
Package blindedrouting provides blinded routing features for agents.
|
Package blindedrouting provides blinded routing features for agents. |
Package didclient provides did commands.
|
Package didclient provides did commands. |
Package mediatorclient provides client features for aries mediator commands.
|
Package mediatorclient provides client features for aries mediator commands. |
Package store provides store commands.
|
Package store provides store commands. |