portal

package
v0.0.0-...-b0f1b55 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrClosed = errors.New(`portal already closed`)

Functions

This section is empty.

Types

type Client

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

type Conn

type Conn struct {
	net.Conn
	// contains filtered or unexported fields
}

func (*Conn) Read

func (c *Conn) Read(b []byte) (n int, err error)

func (*Conn) Write

func (c *Conn) Write(b []byte) (n int, err error)

type Forword

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

func (*Forword) Serve

func (f *Forword) Serve()

type Portal

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

func New

func New(opts *configure.Portal) (p *Portal, e error)

func (*Portal) Close

func (p *Portal) Close() error

func (*Portal) Serve

func (p *Portal) Serve()

Jump to

Keyboard shortcuts

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