utils

package
v0.0.0-...-52bbd4c Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2019 License: GPL-3.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(src, dst string) error

CopyFile copies a file from the source to the given destination

func CreateAndWriteFile

func CreateAndWriteFile(filePath string, data []byte) error

CreateAndWriteFile creates and writes a file

func FileExists

func FileExists(filePath string) bool

FileExists checks if a file exists

func SigToRSV

func SigToRSV(sig []byte) (r [32]byte, s [32]byte, v uint8, err error)

SigToRSV decomposes an ethereum signature to its r, s, v values

Types

This section is empty.

Jump to

Keyboard shortcuts

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