public

package
v0.0.0-...-62aa942 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfKey

func GetConfKey() *getConfKey

Types

type API

type API struct {
	Name string `json:"Name"`
	Src  string `json:"Src"`
	Dest string `json:"Dest"`
}

type BaseConf

type BaseConf struct {
	WrapResult WrapResult `json:"WrapResult"`
}

type CallBack

type CallBack struct {
	TagName string  `json:"TagName"`
	Cover   []Cover `json:"Cover"`
}

type CallBackConf

type CallBackConf struct {
	CallBack CallBack
}

type CasbinRoleMethod

type CasbinRoleMethod struct {
	CheckKey string
	Note     string
}

type Cover

type Cover struct {
	Match      Match  `json:"Match"`
	ImportPath string `json:"ImportPath"`
	Template   string `json:"Template"`
}

type Ent

type Ent struct {
	Name string `json:"Name"`
	Src  string `json:"Src"`
	Dest string `json:"Dest"`
}

type Gen

type Gen struct {
	Ent []Ent `json:"Ent"`
	API []API `json:"Api"`
	Ts  []Ts  `json:"Ts"`
}

type GenConf

type GenConf struct {
	BaseConf BaseConf `json:"BaseConf"`
	Plugin   Plugin   `json:"Plugin"`
	Gen      Gen      `json:"Gen"`
}

func GetGenConf

func GetGenConf() *GenConf

func ReadConf

func ReadConf() (*viper.Viper, *GenConf)

type Match

type Match struct {
	Param            []string `json:"Param"`
	OutInterfaceName []string `json:"OutInterfaceName"`
	InInterfaceName  []string `json:"InInterfaceName"`
}

type Mount

type Mount struct {
	Match          Match          `json:"Match"`
	MountBindBefor MountBindBefor `json:"MountBindBefor"`
	MountBindAfter MountBindAfter `json:"MountBindAfter"`
}

type MountBindAfter

type MountBindAfter struct {
	ImportPath string `json:"ImportPath"`
	Template   string `json:"Template"`
}

type MountBindBefor

type MountBindBefor struct {
	ImportPath string `json:"ImportPath"`
	Template   string `json:"Template"`
}

type Plugin

type Plugin struct {
	CallBack []CallBack `json:"CallBack"`
	Point    []Point    `json:"Point"`
}

type Point

type Point struct {
	TagName string  `json:"TagName"`
	Mount   []Mount `json:"Mount"`
}

type PointConf

type PointConf struct {
	Point Point
}

type Ts

type Ts struct {
	Name   string `json:"Name"`
	Src    string `json:"Src"`
	Dest   string `json:"Dest"`
	Prefix string `json:"Prefix"`
}

type WrapResult

type WrapResult struct {
	ImportPath     string `json:"ImportPath"`
	WrapFunc       string `json:"WrapFunc"`
	WrapResultType string `json:"WrapResultType"`
}

Jump to

Keyboard shortcuts

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