Documentation ¶
Index ¶
- Constants
- func ApproveMarketHandler(e echo.Context) (err error)
- func CreateMarketHandler(e echo.Context) (err error)
- func DeleteOrderHandler(e echo.Context) (err error)
- func EditMarketHandler(e echo.Context) (err error)
- func GetBalancesHandler(e echo.Context) (err error)
- func GetOrdersHandler(e echo.Context) (err error)
- func GetStatusHandler(e echo.Context) (err error)
- func GetTradesHandler(e echo.Context) (err error)
- func ListMarketsHandler(e echo.Context) (err error)
- func RestartEngineHandler(e echo.Context) (err error)
- func StartServer(ctx context.Context)
- func ToStatus(httpCode int) string
- type HealthCheckOptions
- type HealthCheckService
- type IHealthCheckMonitor
Constants ¶
View Source
const ( ServiceOnline = "online" ServiceOffline = "offline" )
Variables ¶
This section is empty.
Functions ¶
func ApproveMarketHandler ¶
func CreateMarketHandler ¶
func DeleteOrderHandler ¶
func EditMarketHandler ¶
func GetBalancesHandler ¶
func GetOrdersHandler ¶
func GetStatusHandler ¶
func GetTradesHandler ¶
func ListMarketsHandler ¶
func RestartEngineHandler ¶
func StartServer ¶
Types ¶
type HealthCheckOptions ¶
type HealthCheckOptions struct {
// contains filtered or unexported fields
}
type HealthCheckService ¶
type HealthCheckService struct {
// contains filtered or unexported fields
}
func (*HealthCheckService) CheckApi ¶
func (h *HealthCheckService) CheckApi() string
func (*HealthCheckService) CheckEngine ¶
func (h *HealthCheckService) CheckEngine() string
func (*HealthCheckService) CheckLauncher ¶
func (h *HealthCheckService) CheckLauncher() string
func (*HealthCheckService) CheckWatcher ¶
func (h *HealthCheckService) CheckWatcher() string
func (*HealthCheckService) CheckWeb ¶
func (h *HealthCheckService) CheckWeb() string
func (*HealthCheckService) CheckWebSocket ¶
func (h *HealthCheckService) CheckWebSocket() string
type IHealthCheckMonitor ¶
type IHealthCheckMonitor interface { CheckWeb() string CheckApi() string CheckEngine() string CheckLauncher() string CheckWatcher() string CheckWebSocket() string }
return status of services
func NewHealthCheckService ¶
func NewHealthCheckService(options *HealthCheckOptions) IHealthCheckMonitor
Click to show internal directories.
Click to hide internal directories.