service

package
v0.0.0-...-3eddd91 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpService

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

func NewHttpService

func NewHttpService(engine *gin.Engine) *HttpService

func (*HttpService) Shutdown

func (serv *HttpService) Shutdown(_ context.Context)

func (*HttpService) Start

func (serv *HttpService) Start(ctx context.Context)

type Service

type Service interface {
	Start(ctx context.Context)
	Shutdown(ctx context.Context)
}

Jump to

Keyboard shortcuts

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