updater

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Interval time.Duration             `yaml:"interval" default:"240h"`
	CacheDir string                    `yaml:"cache" validate:"required"`
	Radius   *freeradius.Configuration `yaml:"-"`
}

func (*Configuration) Check

func (c *Configuration) Check() error

type Server

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

func New

func New(logger *log.Entry, config *Configuration, client *client.Client) (*Server, error)

func (*Server) Configure

func (s *Server) Configure() error

func (*Server) Start

func (s *Server) Start() error

func (*Server) Stop

func (s *Server) Stop() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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