nntp

package
v0.0.0-...-dcb018a Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GROUP_KEY = iota
	ARTICLE_KEY
)
View Source
const (
	CLOSED_RANGE = iota
	HALF_OPEN_RANGE
	SINGLETON_RANGE
)
View Source
const (
	POSTING_PERMITTED = iota
	POSTING_NONPERMITTED
	POSTING_MODERATED
)
View Source
const CMD_WORD_LIMIT = 2048
View Source
const POST_LINE = "201 Posting prohibited"

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(conn *textproto.Conn, spool *spool.Spool) Server

func (Server) Close

func (s Server) Close()

func (Server) Process

func (s Server) Process(ctx context.Context)

Jump to

Keyboard shortcuts

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