Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ServeCommand ¶
ServeCommand will start the application REST service as a blocking process. It takes a codec to create a RestServer object and a function to register all necessary routes.
Types ¶
type GuardRequest ¶
type GuardRequest struct {
SeqNum uint64 `json:"seq_num"`
}
type IntendSettleRequest ¶
type IntendSettleRequest struct {
SeqNum uint64 `json:"seq_num"`
}
type RestServer ¶
RestServer represents the Light Client Rest server
func NewRestServer ¶
func NewRestServer() (rs *RestServer, err error)
NewRestServer creates a new rest server instance
Click to show internal directories.
Click to hide internal directories.