Documentation ¶
Index ¶
- func ListenConfig(ctx context.Context) error
- func LoadConfig() error
- func ParseConfig(uuid string) ([]helper.Endpoint, error)
- func ProxyNodeHandler(s *Source) ([]helper.Endpoint, error)
- func RawNodeHandler(s *Source) ([]helper.Endpoint, error)
- func Serve(path string) (string, error)
- func URLNodeHandler(s *Source) ([]helper.Endpoint, error)
- func URLToEndpoint(uris ...string) []helper.Endpoint
- func V2rayNodeHandler(s *Source) ([]helper.Endpoint, error)
- type Config
- type Fmt
- type Server
- type Source
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseConfig ¶
ParseConfig parse config to endpoint by uuid
func RawNodeHandler ¶
RawNodeHandler parse raw source
func URLNodeHandler ¶
URLNodeHandler parse url source
func URLToEndpoint ¶
URLToEndpoint parse uri array to endpoint array
Types ¶
Click to show internal directories.
Click to hide internal directories.