Documentation
¶
Index ¶
- func ExtractCommand(lines []string, cursor int) (start int, end int, cmd string)
- func IsStartLine(line string) bool
- func ParseCommand(command string) (*restfile.Request, error)
- func ParseCommands(command string) ([]*restfile.Request, error)
- func SplitCommands(src string) []string
- func VisibleHeaders(headers http.Header) []string
- type Cmd
- type Item
- type Opt
- type Res
- type Seg
- type TokenState
- type WarningCollector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractCommand ¶
func IsStartLine ¶
func SplitCommands ¶
func VisibleHeaders ¶
Types ¶
type Res ¶
func ParseCommandsInfo ¶
type TokenState ¶
type TokenState struct {
// contains filtered or unexported fields
}
func (*TokenState) Escaping ¶
func (s *TokenState) Escaping() bool
func (*TokenState) InQuote ¶
func (s *TokenState) InQuote() bool
func (*TokenState) Open ¶
func (s *TokenState) Open() bool
func (*TokenState) ResetEscape ¶
func (s *TokenState) ResetEscape()
type WarningCollector ¶
type WarningCollector struct {
// contains filtered or unexported fields
}
func (*WarningCollector) Add ¶
func (c *WarningCollector) Add(msg string)
func (*WarningCollector) Flag ¶
func (c *WarningCollector) Flag(flag string)
func (*WarningCollector) List ¶
func (c *WarningCollector) List() []string
func (*WarningCollector) Setting ¶
func (c *WarningCollector) Setting(key string)
func (*WarningCollector) UnknownFlags ¶
func (c *WarningCollector) UnknownFlags(flags []string)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.