parser

package
v0.0.0-...-8f1c950 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Host     string `toml:"host"`
	Port     int    `toml:"port"`
	EndPoint string `toml:"endpoint"`
}

type ServerMap

type ServerMap map[string]Server

func NewServer

func NewServer() ServerMap

func (*ServerMap) GetURLList

func (s *ServerMap) GetURLList() URLAndEndPointList

func (*ServerMap) Parse

func (s *ServerMap) Parse() error

type URLAndEndPoint

type URLAndEndPoint struct {
	URL      string
	EndPoint string
}

type URLAndEndPointList

type URLAndEndPointList []URLAndEndPoint

Jump to

Keyboard shortcuts

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