Help us shape the future of Go! Take the 2026 Go Developer Survey

openapi

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Provides = wire.NewSet(
	index.Provides,
)

Functions

This section is empty.

Types

type API

type API struct {
	*common.Inject

	Hertz        *server.Hertz
	Index        *index.Controller
	IndexService *index.Service
}

func (*API) AuthGuard

func (x *API) AuthGuard() app.HandlerFunc

func (*API) Initialize

func (x *API) Initialize(ctx context.Context) (h *server.Hertz, err error)

func (*API) Routes

func (x *API) Routes(h *server.Hertz) (err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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