tgtest

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func NewServer

func NewServer(tb TB) *Server

func NewUnstartedServer

func NewUnstartedServer(tb TB) *Server

func (*Server) Close

func (s *Server) Close()

func (*Server) Key

func (s *Server) Key() *rsa.PublicKey

func (*Server) Start

func (s *Server) Start()

type TB

type TB interface {
	Log(args ...interface{})
	Logf(format string, args ...interface{})
}

Jump to

Keyboard shortcuts

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