core

package
v0.0.0-...-d472a1d Latest Latest
Warning

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

Go to latest
Published: May 8, 2018 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

The core package provides fundamental core functionality shared by multiple parts of the program

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFormattedTime

func GetFormattedTime(t time.Time) string

Gets the formatted input time to save in the database

func IsIPOnline

func IsIPOnline(ip string) bool

Pings an IP to see if it's currently online

func Login

func Login(scanner *bufio.Scanner, ip string) *db.User

Login User

func SetupTunnel

func SetupTunnel(port uint16, username, mac string) (string, *exec.Cmd, error)

Sets up a reverse-proxy tunnel

Types

This section is empty.

Jump to

Keyboard shortcuts

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