basedataapp

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

@externalDocs.description OpenAPI @externalDocs.url https://swagger.io/resources/open-api/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfig

func NewConfig() *configstc.BaseDataAppConfig

NewConfig godoc @Summary CONFIG-配置 @Description CONFIG-配置内容 @Tags baseData @Produce json @Success 200 {array} configstc.BaseDataAppConfig @Router /-baseData-config [post]

Types

type ApiServer

type ApiServer struct {
	*apps.ApiServer
	// contains filtered or unexported fields
}

func NewApiServer

func NewApiServer(di *dig.Container, conf *configstc.BaseDataAppConfig, logger v1log.ILog) *ApiServer

func (*ApiServer) InitRouter

func (s *ApiServer) InitRouter()

func (*ApiServer) InitRouterForGin

func (s *ApiServer) InitRouterForGin(engine *gin.Engine)

func (*ApiServer) Name

func (s *ApiServer) Name() string

func (*ApiServer) Start

func (s *ApiServer) Start() error

func (*ApiServer) Stop

func (s *ApiServer) Stop() error

type App

type App struct {
	*apps.App

	ApiServer *ApiServer
	// contains filtered or unexported fields
}

func NewApp

func NewApp(di *dig.Container, conf *configstc.BaseDataAppConfig, logger v1log.ILog) *App

Directories

Path Synopsis
controllers
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.

Jump to

Keyboard shortcuts

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