relayservice

package
v0.0.0-...-decdc4a Latest Latest
Warning

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

Go to latest
Published: May 24, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

Service is a map of relays

func New

func New(config *config.Config, logdir string) (*Service, error)

New loads the different relays from the configuration file

func (*Service) Release

func (s *Service) Release()

func (*Service) Run

func (s *Service) Run() error

Run does run the service Each relay is started and the service will wait for them all to finish because finishing itself

func (*Service) Stop

func (s *Service) Stop()

Stop does stop the service by stopping each relay

Jump to

Keyboard shortcuts

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