api

package
v0.0.30 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: GPL-3.0 Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustInitApiService

func MustInitApiService(listenAddr string, router *gin.Engine)

func NewApiService

func NewApiService(listenAddr string, router *gin.Engine) *server

Types

type ApiService

type ApiService interface {
	Run()
	Stop()
}

func GetAPIService

func GetAPIService() ApiService

Jump to

Keyboard shortcuts

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