webapi

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2022 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(apiRouterGroup *gin.RouterGroup) error

Init initializes the webapi and makes it ready to be used.

func Router

func Router() *gin.RouterGroup

Router returns the root gin.RouterGroup that should be used to register new router groups and routes.

This function should be used by components to create API endpoints.

Types

This section is empty.

Jump to

Keyboard shortcuts

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