network

package
v0.0.0-...-8c278e4 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2021 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLocalIP

func GetLocalIP() net.IP

func GetMacAddress

func GetMacAddress() (string, error)

func NewConnection

func NewConnection(address, port string) (net.Conn, error)

func Read

func Read(conn net.Conn) (*models.Message, error)

func Send

func Send(conn net.Conn, request models.Message) error

func Write

func Write(conn net.Conn, v string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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