ident

package module
v0.0.0-...-3c36e67 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2015 License: MIT Imports: 4 Imported by: 0

README

RFC 1413 (Identification Protocol) client

This package provides a client for the Identification Protocol.

Installation

go get honnef.co/go/ident

Documentation

Documentation can be found at godoc.org.

Documentation

Overview

Package ident implements an RFC 1413 client

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProtocolError

type ProtocolError struct {
	Line string
}

func (ProtocolError) Error

func (e ProtocolError) Error() string

type Response

type Response struct {
	OS         string
	Charset    string
	Identifier string
}

func Query

func Query(ip string, portOnServer, portOnClient int) (Response, error)

type ResponseError

type ResponseError struct {
	Type string
}

func (ResponseError) Error

func (e ResponseError) Error() string

Jump to

Keyboard shortcuts

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