pull

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModbusPuller

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

func (*ModbusPuller) Close

func (r *ModbusPuller) Close() error

func (*ModbusPuller) Pull

func (r *ModbusPuller) Pull(ctx context.Context) error

type Puller

type Puller interface {
	Pull(ctx context.Context) error
	Close() error
}

type RedisPuller

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

func NewRedisPuller

func NewRedisPuller(client *redis.RedisClient, queueName string, outChan chan gorenogymodbus.DynamicControllerInformation) *RedisPuller

func (*RedisPuller) Close

func (r *RedisPuller) Close() error

func (*RedisPuller) Pull

func (r *RedisPuller) Pull(ctx context.Context) error

Jump to

Keyboard shortcuts

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