backend

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backend

type Backend struct {
	Service
}

Backend wraps a Service and thereby provides specific instantiations access to the Close() and Flush() methods

func NewBackend

func NewBackend(cfg *purple.ServerConfig) (*Backend, error)

func (*Backend) Close

func (b *Backend) Close() error

type Service

type Service interface {
	cache.Cache
	counter.Counter
	flag.Flag
	kv.KV
	set.Set

	Close() error
	Flush() error
	Name() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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