server

package
v1.1.6-nightly Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: AGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AppPort = 55678
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func New

func New(binName string) *Server

func (*Server) Start

func (s *Server) Start(ctx context.Context) error

type SetDnsBody

type SetDnsBody struct {
	Dns string `json:"dns"`
}

type SetDomainBody

type SetDomainBody struct {
	Domain string `json:"domain"`
}

type StreamingWriter

type StreamingWriter struct {
	io.Writer
}

func (StreamingWriter) Write

func (w StreamingWriter) Write(b []byte) (int, error)

Jump to

Keyboard shortcuts

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