server

package
v0.0.0-...-fb5fdcc Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewServer

func NewServer(
	ctx context.Context,
	app *app.App,
	logger *zap.Logger,
	gs *grpc.Server,
	hs *http.Server,
	cn *cron.Server,
) *Server

func (*Server) Restart

func (s *Server) Restart() error

func (*Server) Run

func (s *Server) Run(sig string) error

func (*Server) Stop

func (s *Server) Stop() error

Directories

Path Synopsis
job

Jump to

Keyboard shortcuts

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