service

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package service contains all the services used by v2rayS To implement a service, one needs to implement the interface below.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Restart

type Restart interface {
	Start() error
	Close() error
}

Restart the service

type Service

type Service interface {
	Start() error
	Close() error
	Restart
}

Service is the interface of all the services running in the panel

Directories

Path Synopsis
Package controller Package generate the InboundConfig used by add inbound
Package controller Package generate the InboundConfig used by add inbound

Jump to

Keyboard shortcuts

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