ginsvc

package
v0.3.12 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2021 License: GPL-3.0 Imports: 10 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Listen

func Listen(options ...Option)

Types

type Option

type Option func(app *gin.Engine)

func NewPortOpion

func NewPortOpion(port int) Option

func NewPostOption

func NewPostOption(
	relativePath string,
	getApiFunc func(ctx *gin.Context) (contract.IApi, error),
) Option

Jump to

Keyboard shortcuts

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