net

package module
v0.0.0-...-fc64511 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2020 License: MIT, MIT Imports: 5 Imported by: 2

README

library for telnet and snmp. go-snmp is a fork from soniah/gosnmp.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Duration

type Duration struct {
	time.Duration
}

func FromDuration

func FromDuration(d time.Duration) Duration

func (Duration) MarshalJSON

func (d Duration) MarshalJSON() ([]byte, error)

MarshalJSON implements the json.Marshaler interface. The duration is a quoted-string in the format accepted by time.ParseDuration and returned by time.Duration.String.

func (*Duration) UnmarshalJSON

func (d *Duration) UnmarshalJSON(data []byte) error

func (*Duration) UnmarshalText

func (d *Duration) UnmarshalText(text []byte) error

type TCPAddr

type TCPAddr struct {
	net.TCPAddr
}

func (TCPAddr) MarshalJSON

func (a TCPAddr) MarshalJSON() ([]byte, error)

func (*TCPAddr) ParseAddress

func (a *TCPAddr) ParseAddress(addr string) (err error)

func (*TCPAddr) UnmarshalJSON

func (a *TCPAddr) UnmarshalJSON(data []byte) error

Directories

Path Synopsis
examples
This program demonstrates BulkWalk.
This program demonstrates BulkWalk.
nats
* Copyright (c) 2020.
* Copyright (c) 2020.

Jump to

Keyboard shortcuts

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