Documentation ΒΆ
Index ΒΆ
- func GetFormatType(contentType string, filename string) string
- func GetUrlScheme(url string) string
- func NewVerboseChannelIterator(source chan string) chroma.Iterator
- func ParseAndPrintError(mgr *Manager, errReader io.Reader) error
- func ParseAndPrintOutput(mgr *Manager, output io.Reader) error
- func ParseResponse(text []byte, url string) (*http.Response, error)
- func Run(argv []string, version string) error
- func SplitHeader(respBF *bufio.Reader) ([]byte, error)
- func TraversalSearchBool(key string, argv []string, default2 bool) (bool, []string, error)
- func TraversalSearchString(key string, argv []string, default2 string) (string, []string, error)
- type ArgType
- type ColorPrinter
- type CurlParam
- type CurlParameter
- type Manager
Constants ΒΆ
This section is empty.
Variables ΒΆ
This section is empty.
Functions ΒΆ
func GetFormatType ΒΆ
func GetUrlScheme ΒΆ
func NewVerboseChannelIterator ΒΆ
func NewVerboseChannelIterator(source chan string) chroma.Iterator
func TraversalSearchBool ΒΆ
Types ΒΆ
type ColorPrinter ΒΆ
func (*ColorPrinter) Highlight ΒΆ
func (c *ColorPrinter) Highlight(text []byte, lexer string)
func (*ColorPrinter) Print ΒΆ
func (c *ColorPrinter) Print(text []byte)
func (*ColorPrinter) VerboseChannelFormat ΒΆ
func (c *ColorPrinter) VerboseChannelFormat(text chan string) error
type CurlParameter ΒΆ
func ParseArgs ΒΆ
func ParseArgs(argv []string) (CurlParameter, error)
func (*CurlParameter) GetBool ΒΆ
func (p *CurlParameter) GetBool(key string) bool
func (*CurlParameter) GetString ΒΆ
func (p *CurlParameter) GetString(key string) string
type Manager ΒΆ
type Manager struct { CurlParameter CurlParameter Printer ColorPrinter Debug bool CurlCmd string Version bool Help bool }
Source Files ΒΆ
Click to show internal directories.
Click to hide internal directories.