api

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoLogin

func DoLogin(ctx context.Context, log zerolog.Logger, device config.Device) (res *http.Response, err error)

func GetInterfaces

func GetInterfaces(ctx context.Context, log zerolog.Logger, device config.Device, auth string) (*[]model.InterfacesInterface, error)

func GetMACTable

func GetMACTable(ctx context.Context, log zerolog.Logger, device config.Device, auth string) (*[]model.MACTable, error)

func GetONUs

func GetONUs(ctx context.Context, log zerolog.Logger, device config.Device, auth string) (*[]model.ONU, error)

func GetONUsSettings

func GetONUsSettings(ctx context.Context, log zerolog.Logger, device config.Device, auth string) (*[]model.ONUSettings, error)

func GetStatistics

func GetStatistics(ctx context.Context, log zerolog.Logger, device config.Device, auth string) (*model.Statistics, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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