Documentation ¶
Index ¶
- func CreateReqIdAndRegisterRpcLogger(ctx context.Context, terminalId string) context.Context
- func DebugLog(ctx context.Context, v ...interface{})
- func DebugLogf(ctx context.Context, template string, v ...interface{})
- func ErrorLog(ctx context.Context, v ...interface{})
- func ErrorLogf(ctx context.Context, template string, v ...interface{})
- func GetActivateResult(key string) (*rpc.ActivateResult, bool)
- func GetPrepayResult(key string) (*rpc.PrepayResult, bool)
- func GetRPResult(key string) (*rpc.RPResult, bool)
- func GetSendResult(key string) (*rpc.SendResult, bool)
- func GetStartMiningResult(key string) (*rpc.StartMiningResult, bool)
- func GetStatusResult(key string) (*rpc.StatusResult, bool)
- func GetWithdrawResult(key string) (*rpc.WithdrawResult, bool)
- func Log(ctx context.Context, v ...interface{})
- func Logf(ctx context.Context, template string, v ...interface{})
- func SetRPCResult(key string, result interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetActivateResult ¶ added in v0.10.0
func GetActivateResult(key string) (*rpc.ActivateResult, bool)
func GetPrepayResult ¶ added in v0.10.0
func GetPrepayResult(key string) (*rpc.PrepayResult, bool)
func GetSendResult ¶ added in v0.10.0
func GetSendResult(key string) (*rpc.SendResult, bool)
func GetStartMiningResult ¶ added in v0.10.0
func GetStartMiningResult(key string) (*rpc.StartMiningResult, bool)
func GetStatusResult ¶ added in v0.10.0
func GetStatusResult(key string) (*rpc.StatusResult, bool)
func GetWithdrawResult ¶ added in v0.10.0
func GetWithdrawResult(key string) (*rpc.WithdrawResult, bool)
func SetRPCResult ¶ added in v0.10.0
func SetRPCResult(key string, result interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.