nats

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2024 License: AGPL-3.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(c config.NATS, options ...IndicatorsOption) (Client, error)

func (Client) Close

func (ids Client) Close(ctx context.Context)

func (Client) SMA

func (ids Client) SMA(ctx context.Context, payload client.SMAPayload) (*timeserie.TimeSerie[float64], error)

func (Client) ServiceInfo

func (ids Client) ServiceInfo(ctx context.Context) (clientPkg.ServiceInfo, error)

type IndicatorsOption

type IndicatorsOption func(i *Client)

func WithIndicatorsLogger

func WithIndicatorsLogger(logger extensions.Logger) IndicatorsOption

Jump to

Keyboard shortcuts

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