solBlockSubscribe

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2025 License: MIT Imports: 9 Imported by: 0

README

solBlockSubscribe

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block struct {
	Broker struct {
		sync.Mutex
		// contains filtered or unexported fields
	}
	// contains filtered or unexported fields
}

func NewBlock

func NewBlock(endPoint string, ctx context.Context, logger *log.Logger) *Block

func (*Block) SubscribeBlock

func (b *Block) SubscribeBlock() chan *ws.BlockResult

func (*Block) UnsubscribeBlock

func (b *Block) UnsubscribeBlock(ch chan *ws.BlockResult)

Jump to

Keyboard shortcuts

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