service

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package service contains all the services used by XrayR To implement an 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 generate the InbounderConfig used by add inbound
Package generate the InbounderConfig used by add inbound

Jump to

Keyboard shortcuts

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