agent

package
v0.0.0-...-f3d3b89 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

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

func New

func New(c Config) (a *Agent, err error)

func (*Agent) ConfigWatch

func (a *Agent) ConfigWatch()

func (Agent) GetReservationsData

func (agent Agent) GetReservationsData() (*model.ReservationsWeek, error)

func (Agent) Login

func (agent Agent) Login() error

func (*Agent) Run

func (a *Agent) Run() (err error)

func (*Agent) RunWithScheduler

func (a *Agent) RunWithScheduler() (err error)

func (*Agent) Stop

func (a *Agent) Stop()

type Config

type Config struct {
	User       string
	Pass       string
	ConfigFile string
}

Jump to

Keyboard shortcuts

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