stulbe

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const ConfigKey = "stulbe/config"

Variables

View Source
var (
	ErrNotAuthenticated = errors.New("not authenticated")
)

Functions

This section is empty.

Types

type Config

type Config struct {
	Endpoint string `json:"endpoint"`
	Username string `json:"username"`
	AuthKey  string `json:"auth_key"`
}

type Manager

type Manager struct {
	Client *stulbe.Client
	// contains filtered or unexported fields
}

func Initialize

func Initialize(manager *modules.Manager) (*Manager, error)

func (*Manager) Close

func (m *Manager) Close() error

func (*Manager) ReceiveEvents added in v1.4.0

func (m *Manager) ReceiveEvents() error

func (*Manager) ReplicateKey

func (m *Manager) ReplicateKey(prefix string) error

func (*Manager) ReplicateKeys added in v1.6.0

func (m *Manager) ReplicateKeys(prefixes []string) error

Jump to

Keyboard shortcuts

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