singbox

package
v0.0.0-...-9a1e35a Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: CC-BY-SA-4.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeSRSIn = "singboxSRS"
	DescSRSIn = "Convert sing-box SRS data to other formats"
)
View Source
const (
	TypeSRSOut = "singboxSRS"
	DescSRSOut = "Convert data to sing-box SRS format"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SRSIn

type SRSIn struct {
	Type        string
	Action      lib.Action
	Description string
	Name        string
	URI         string
	InputDir    string
	Want        map[string]bool
	OnlyIPType  lib.IPType
}

func (*SRSIn) GetAction

func (s *SRSIn) GetAction() lib.Action

func (*SRSIn) GetDescription

func (s *SRSIn) GetDescription() string

func (*SRSIn) GetType

func (s *SRSIn) GetType() string

func (*SRSIn) Input

func (s *SRSIn) Input(container lib.Container) (lib.Container, error)

type SRSOut

type SRSOut struct {
	Type        string
	Action      lib.Action
	Description string
	OutputDir   string
	Want        []string
	Exclude     []string
	OnlyIPType  lib.IPType
}

func (*SRSOut) GetAction

func (s *SRSOut) GetAction() lib.Action

func (*SRSOut) GetDescription

func (s *SRSOut) GetDescription() string

func (*SRSOut) GetType

func (s *SRSOut) GetType() string

func (*SRSOut) Output

func (s *SRSOut) Output(container lib.Container) error

Jump to

Keyboard shortcuts

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