parser

package
v0.0.2-alpha Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrepareString

func PrepareString(fullText string, extracteds []string, cached *Parser) string

Types

type Cached

type Cached struct {
	Rest model.Rest `json:"rest"`
}

type Parser

type Parser struct {
	Request  RequestParser  `json:"request"`
	Response ResponseParser `json:"response"`
	Config   lara.Config
}

func (*Parser) Parse

func (p *Parser) Parse(value string) string

type RequestParser

type RequestParser struct {
	Params        *map[string]string `json:"queryparams"`
	PathVariables *map[string]string `json:"pathvariables"`
	Body          json.RawMessage    `json:"body"`
}

type ResponseParser

type ResponseParser struct {
	Body json.RawMessage `json:"body"`
}

Jump to

Keyboard shortcuts

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