core

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HealthCheckLogic

type HealthCheckLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewHealthCheckLogic

func NewHealthCheckLogic(r *http.Request, svcCtx *svc.ServiceContext) *HealthCheckLogic

func (*HealthCheckLogic) HealthCheck

func (l *HealthCheckLogic) HealthCheck() error

type InitDatabaseLogic

type InitDatabaseLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewInitDatabaseLogic

func NewInitDatabaseLogic(r *http.Request, svcCtx *svc.ServiceContext) *InitDatabaseLogic

func (*InitDatabaseLogic) InitDatabase

func (l *InitDatabaseLogic) InitDatabase() (resp *types.BaseMsgResp, err error)

Jump to

Keyboard shortcuts

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