houseguard

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2021 License: MIT Imports: 3 Imported by: 0

README

HouseGuard-Common-Go

Module for common functionality used in the golang code for House Guard

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exists

func Exists(name string) bool

Exists reports whether the named file or directory exists.

func GetData

func GetData(cfg *FHConfigTypes, file string) bool

Types

type Basic

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

type FHConfigTypes

type FHConfigTypes struct {
	EmailSettings struct {
		Email    string `yaml:"email"`
		Password string `yaml:"password"`
		Name     string `yaml:"name"`
		ToEmail  string `yaml:"to_email"`
	} `yaml:"email_settings"`
	MessageSettings struct {
		Password string `yaml:"passcode"`
	} `yaml:"message_settings"`
}

Jump to

Keyboard shortcuts

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