host

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Host

type Host struct {
	Name       string `json:"name"`
	IPAddr     net.IP `json:"ip"`
	IPMaskSize int    `json:"ipMask"`
}

func New

func New(name string, ip net.IP, ipMask net.IPMask) *Host

func (*Host) Register

func (h *Host) Register(c *mahakamclient.Client) error

func (*Host) String

func (h *Host) String() string

Jump to

Keyboard shortcuts

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