lib

package
v0.24.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: AGPL-3.0 Imports: 13 Imported by: 0

README

A golang based library to use the ten gateway programmatically.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TGLib

type TGLib struct {
	// contains filtered or unexported fields
}

func NewTenGatewayLibrary

func NewTenGatewayLibrary(httpURL, wsURL string) *TGLib

func (*TGLib) HTTP

func (o *TGLib) HTTP() string

func (*TGLib) Join

func (o *TGLib) Join() error

func (*TGLib) RegisterAccount

func (o *TGLib) RegisterAccount(pk *ecdsa.PrivateKey, addr gethcommon.Address) error

func (*TGLib) RegisterAccountPersonalSign added in v0.24.0

func (o *TGLib) RegisterAccountPersonalSign(pk *ecdsa.PrivateKey, addr gethcommon.Address) error

func (*TGLib) UserID

func (o *TGLib) UserID() string

func (*TGLib) UserIDBytes added in v0.24.0

func (o *TGLib) UserIDBytes() []byte

func (*TGLib) WS

func (o *TGLib) WS() string

Jump to

Keyboard shortcuts

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