services

package
v0.0.0-...-9716118 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QuicService

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

func NewQuicService

func NewQuicService(port int, certFile string, keyFile string) (*QuicService, error)

func (*QuicService) Start

func (s *QuicService) Start() error

func (*QuicService) Stop

func (s *QuicService) Stop()

type Service

type Service interface {
	Start() error
	Stop()
}

type TcpService

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

func NewTcpService

func NewTcpService(port int, certFile string, keyFile string) (*TcpService, error)

func (*TcpService) Start

func (s *TcpService) Start() error

func (*TcpService) Stop

func (s *TcpService) Stop()

Jump to

Keyboard shortcuts

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