service

package
v0.0.0-...-086ba71 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartService

func StartService(ctx context.Context, srv Service, g *run.Group) error

StartService provides starting of service

Types

type Service

type Service interface {
	Run(ctx context.Context) error
	Close(ctx context.Context) error
}

Service defines interface for service

Jump to

Keyboard shortcuts

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