service

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatAddress

func FormatAddress(addr string) string

Types

type Message

type Message struct {
	Postfix string
	Msg     types.StreamData
}

type MessageChannel

type MessageChannel chan Message

type PublisherConfig

type PublisherConfig struct {
	SubjectPrefix string
}

type PublisherService

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

func NewPublisherService

func NewPublisherService(s *svcn.NatsService, ctx context.Context, cfg PublisherConfig, msgChan MessageChannel) *PublisherService

func (PublisherService) Serve

func (s PublisherService) Serve()

type SubscriberConfig

type SubscriberConfig struct{}

type SubscriberService

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

func (SubscriberService) ProcessTxLogEventFromStream

func (s SubscriberService) ProcessTxLogEventFromStream(data []byte) error

func (SubscriberService) Serve

func (s SubscriberService) Serve()

type Token

type Token struct {
	Ticker   string
	Decimals *big.Int
}

Jump to

Keyboard shortcuts

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