parser

package
v0.0.0-...-ccd8cf7 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvToTypeDeclPath

func ConvToTypeDeclPath(file string) string

Types

type ApiDecl

type ApiDecl struct {
	Action         string
	Path           string
	Method         string
	RequestOption  interface{}
	ResponseOption interface{}
}

type ApiParser

type ApiParser struct {
	ApiDecls map[string]map[string]*ApiDecl
}

func NewApiParser

func NewApiParser() *ApiParser

func (*ApiParser) Parse

func (p *ApiParser) Parse(file string) error

Jump to

Keyboard shortcuts

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