app

package
v0.13.4 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Unlicense Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(NewApp)

Functions

This section is empty.

Types

type App

type App struct {
	Hertz       *server.Hertz
	RedisServer *redisserver.Server
	// contains filtered or unexported fields
}

func NewApp

func NewApp(cfg *config.Config, h *server.Hertz, rs *redisserver.Server) *App

func (*App) Start

func (a *App) Start(ctx context.Context) error

func (*App) StartHTTPServer

func (a *App) StartHTTPServer() error

func (*App) StartPrometheus

func (a *App) StartPrometheus(ctx context.Context) error

func (*App) StartRedisServer

func (a *App) StartRedisServer() error

Jump to

Keyboard shortcuts

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