pusher

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: MIT Imports: 8 Imported by: 0

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(cfg *Configs) *Client

func (*Client) StartPushing

func (c *Client) StartPushing() error

type Configs

type Configs struct {
	Service Service
	Secrets Secrets
	Repo    repository.AggregateRepository
	Logger  *jsonlog.Logger
}

type Secrets

type Secrets struct {
	AppID   string
	Key     string
	Secret  string
	Cluster string
	Secure  bool
}

type Service

type Service struct {
	ChannelID            string
	PushingPeriodMinutes int
}

Jump to

Keyboard shortcuts

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