apidoc

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

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

Go to latest
Published: Oct 22, 2019 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var APIData = "api_data.js"

APIData defined APIData

View Source
var APIDataSys = "api_data_sys.js"

APIDataSys defined APIData

View Source
var APIProject = "api_project.js"

APIProject defined APIProject

Functions

This section is empty.

Types

type APIDoc

type APIDoc struct {
	Prefix  string
	GORMExt *gormext.GORM
	MGOExt  *mgoext.Mongo
}

APIDoc for apidoc

func New

func New() *APIDoc

New defined return Apidoc struct

func (*APIDoc) Doc

func (api *APIDoc) Doc(dir string) *APIDoc

Doc defined apidoc

func (*APIDoc) Init

func (api *APIDoc) Init(init func(*APIDoc)) *APIDoc

Init defined struct Init

func (*APIDoc) Plugin

func (api *APIDoc) Plugin(httpProxy *gin.Engine) *APIDoc

Plugin for doc

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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