Documentation
¶
Index ¶
- Variables
- func CallStack(recoverRes any, topLevelFunctionName string, lastCallstackMethod string, ...) (callStack []string)
- func IsValidSig(sig string, address string) bool
- func KeyGenIfNeeded(logger *log.Entry)
- func NID() string
- func NewBigIntFromString(s string) *big.Int
- func StringArrayContains(slice []string, item string) bool
- func StringArrayFilter(slice []string, predicate func(string) bool) []string
- func TaskID() string
- func WalletAddress() (string, *ecdsa.PrivateKey)
- type SignedDate
Constants ¶
This section is empty.
Variables ¶
View Source
var RecoverablePanicGroup = panicGroup{ // contains filtered or unexported fields }
View Source
var UnrecoverablePanicGroup = panicGroup{ // contains filtered or unexported fields }
Functions ¶
func CallStack ¶
func CallStack(recoverRes any, topLevelFunctionName string, lastCallstackMethod string, unwindStackLines int) (callStack []string)
CallStack returns an array of strings representing the current call stack. The method is tuned for the purpose of panic handler, and used as a helper in contructing the list of entries we want to write to the log / stderr / telemetry.
func IsValidSig ¶
func KeyGenIfNeeded ¶
func NewBigIntFromString ¶
func StringArrayContains ¶
func StringArrayFilter ¶
func WalletAddress ¶
func WalletAddress() (string, *ecdsa.PrivateKey)
Types ¶
type SignedDate ¶
func SignCurrentDate ¶
func SignCurrentDate(createdAt time.Time) SignedDate
Click to show internal directories.
Click to hide internal directories.