initial

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2024 License: MIT Imports: 23 Imported by: 0

Documentation

Overview

Package initial is the package that starts the service to initialize the service, including the initialization configuration, service configuration, connecting to the database, and resource release needed when shutting down the service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close(servers []app.IServer) []app.Close

Close releasing resources after service exit

func CreateServices

func CreateServices() []app.IServer

CreateServices create grpc or http service

func InitApp

func InitApp()

InitApp initial app configuration

func ZapLogHandler added in v1.0.2

func ZapLogHandler(entry zapcore.Entry) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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