highlevel

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package highlevel provides convenient wrappers around some common functionality in the api package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Connect

func Connect(ctx context.Context, config *Config, dialer *websocket.Dialer) (*api.Client, error)

Connect returns a client that is ready to use.

func GetConfigs added in v0.3.0

func GetConfigs(ctx context.Context, fhomeClient *api.Client) (*api.Config, error)

func PrintCellData added in v0.3.0

func PrintCellData(cellValue *api.CellValue, cfg *api.Config) error

PrintCellData prints the values of its arguments into a JSON object.

Types

type Config

type Config struct {
	Email            string
	Password         string
	ResourcePassword string
}

Jump to

Keyboard shortcuts

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