types

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2026 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientCode

type ClientCode struct {
	Data string `json:"data"`
}

type HostCode

type HostCode struct {
	Data string `json:"data"`
}

type Server

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

func (Server) GetUrl

func (s Server) GetUrl() string

func (*Server) SetUrl

func (s *Server) SetUrl(url_str string) error

SetUrl sets the URL of the server. The URL must be a valid URL string. If the URL is not valid, an error will be returned.

type ServerOptions added in v1.2.0

type ServerOptions struct {
	Port      uint16
	LocalName string
}

Jump to

Keyboard shortcuts

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