gin

package
v1.6.5 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gin

type Gin struct {
	serve.BaseAdapter

	Srv *http.Server
	// contains filtered or unexported fields
}

Gin structure value is a Gin GoAdmin adapter.

func (*Gin) Close added in v1.5.3

func (eng *Gin) Close()

Close http service<关闭当前一些服务>

func (*Gin) Name

func (gins *Gin) Name() string

Name implements the method Adapter.Name.

func (*Gin) Run added in v1.5.3

func (eng *Gin) Run(addr string)

Run http service<不加载配置服务>

func (*Gin) SetApp

func (gins *Gin) SetApp(app interface{}) error

SetApp implements the method Adapter.Use.

Jump to

Keyboard shortcuts

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