random

package
v0.0.0-...-9ccd474 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultBitsPerMinute = 16 * 8 * 60 // 16 bytes per second.

Variables

View Source
var DefaultConfig = Config{
	BitsPerMinute: DefaultBitsPerMinute,
}

Functions

This section is empty.

Types

type Config

type Config struct {
	BitsPerMinute int
}

type Service

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

func New

func New(c *Config) *Service

func (*Service) CreateInstance

func (s *Service) CreateInstance(ctx context.Context, config service.InstanceConfig, snapshot []byte) (service.Instance, error)

func (*Service) Discoverable

func (s *Service) Discoverable(context.Context) bool

func (*Service) Properties

func (s *Service) Properties() service.Properties

Jump to

Keyboard shortcuts

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