ginsvc

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: GPL-3.0 Imports: 15 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApiPort added in v1.0.0

func NewApiPort(options ...Option) contract.IApiPort

Types

type Option

type Option func(app *gin.Engine)

选项

func NewPortOption added in v1.0.0

func NewPortOption(name string, port int) Option

端口

func NewPostOption

func NewPostOption(
	apiFactory contract.IApiFactory,
	logFactory contract.ILogFactory,
) Option

Jump to

Keyboard shortcuts

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