typex

package
v0.0.0-...-5c5f118 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateCheckMethod

func GenerateCheckMethod(respName string) (string, error)

GenerateCheckMethod generate check response is success method

func Parse2Go

func Parse2Go(fp string, clientName string) ([]string, error)

func Parse2Ts

func Parse2Ts(fp string) ([]string, error)

func WriteGen

func WriteGen(fp string, rtn []string) error

Types

type LogData

type LogData struct {
	Path     string
	Query    string
	QueryMap map[string]any

	Name    string
	Method  string
	ReqBody string
	ResBody string
}

func ParseLogData

func ParseLogData(fp string) (*LogData, error)

Jump to

Keyboard shortcuts

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