handler

package
v0.0.0-...-82e085d Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SaveToDisk

type SaveToDisk struct {
	HostName   string
	StorageDir string
	Prefix     string
}

SaveToDisk save connection input to disk

func (*SaveToDisk) Handle

func (h *SaveToDisk) Handle(conn *net.TCPConn) error

Handle implemnts TCPHandler interface interface

type Slack

type Slack struct {
	Channel string
	API     slackAPI
}

Slack post connection input to Slack

func (*Slack) Handle

func (h *Slack) Handle(conn *net.TCPConn) error

Handle implemnts TCPHandler interface interface

Jump to

Keyboard shortcuts

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