mihomo

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: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TypeMRSIn = "mihomoMRS"
	DescMRSIn = "Convert mihomo MRS data to other formats"
)
View Source
const (
	TypeMRSOut = "mihomoMRS"
	DescMRSOut = "Convert data to mihomo MRS format"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type MRSIn

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

func (*MRSIn) GetAction

func (m *MRSIn) GetAction() lib.Action

func (*MRSIn) GetDescription

func (m *MRSIn) GetDescription() string

func (*MRSIn) GetType

func (m *MRSIn) GetType() string

func (*MRSIn) Input

func (m *MRSIn) Input(container lib.Container) (lib.Container, error)

type MRSOut

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

func (*MRSOut) GetAction

func (m *MRSOut) GetAction() lib.Action

func (*MRSOut) GetDescription

func (m *MRSOut) GetDescription() string

func (*MRSOut) GetType

func (m *MRSOut) GetType() string

func (*MRSOut) Output

func (m *MRSOut) Output(container lib.Container) error

Jump to

Keyboard shortcuts

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