pp

package
v0.11.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateReqIdAndRegisterRpcLogger

func CreateReqIdAndRegisterRpcLogger(ctx context.Context, terminalId string) context.Context

func DebugLog

func DebugLog(ctx context.Context, v ...interface{})

func DebugLogf

func DebugLogf(ctx context.Context, template string, v ...interface{})

func ErrorLog

func ErrorLog(ctx context.Context, v ...interface{})

func ErrorLogf

func ErrorLogf(ctx context.Context, template string, v ...interface{})

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 GetRPResult added in v0.10.0

func GetRPResult(key string) (*rpc.RPResult, 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 Log

func Log(ctx context.Context, v ...interface{})

func Logf

func Logf(ctx context.Context, template string, v ...interface{})

func SetRPCResult added in v0.10.0

func SetRPCResult(key string, result interface{})

Types

This section is empty.

Directories

Path Synopsis
api
rpc

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL