Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHandler ¶ added in v0.16.0
func NewHandler(appConfig *config.AppConfig, services *config.AppServices) (routes.BasicEndpointsFunc, routes.APIEndpointsFunc, routes.CallbackEndpointsFunc)
NewHandler creates the specific package routes
Types ¶
type NewTransaction ¶ added in v0.16.0
type NewTransaction struct { Config models.TransactionConfig `json:"config"` Metadata engine.Metadata `json:"metadata"` }
NewTransaction is the model for creating a new transaction
type RecordTransaction ¶ added in v0.16.0
type RecordTransaction struct { Hex string `json:"hex"` ReferenceID string `json:"reference_id"` Metadata engine.Metadata `json:"metadata"` }
RecordTransaction is the model for recording a transaction
type UpdateTransaction ¶ added in v0.16.0
UpdateTransaction is the model for updating a transaction
Click to show internal directories.
Click to hide internal directories.