base

package
v0.0.0-...-d56c475 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakeRequest

func MakeRequest(id uint64, jsonMethod string, params ...any) (request.Request, error)

MakeRequest builds a Request from all its parts, but returns an error if the params cannot be marshalled.

func MustRequest

func MustRequest(id uint64, jsonMethod string, params ...any) (request.Request, error)

MustRequest builds a request from all its parts but panics if the params cannot be marshaled, so should only be used with well-known parameter data.

func New

func New(config config.Config) modus.Base

func PrivateToPublicHex

func PrivateToPublicHex(hexkey string) (string, error)

PrivateToPublicHex returns the hex public key for the specified hex private key.

Types

This section is empty.

Jump to

Keyboard shortcuts

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