decoy

package
v0.13.8 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultListenAddress = "127.0.0.1:60443"

Variables

This section is empty.

Functions

func ValidateListenAddress

func ValidateListenAddress(address string) error

Types

type Config

type Config struct {
	ListenAddress string
}

type Server

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

func NewServer

func NewServer(config Config) (*Server, error)

func (*Server) Serve

func (server *Server) Serve() error

func (*Server) Shutdown

func (server *Server) Shutdown(ctx context.Context) error

Jump to

Keyboard shortcuts

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