services

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DriverCollectorService

type DriverCollectorService struct {
	promsql.DriverCollector
}
var DefaultDriverCollector DriverCollectorService

func (*DriverCollectorService) Name

func (srv *DriverCollectorService) Name() string

Name implements the rscsrv.Service interface.

func (*DriverCollectorService) Restart

func (service *DriverCollectorService) Restart() error

Restart restarts the Prometheus service.

func (*DriverCollectorService) Start

func (service *DriverCollectorService) Start() error

func (*DriverCollectorService) Stop

func (service *DriverCollectorService) Stop() error

Stop stops the Prometheus service.

type PromService

type PromService struct {
	promsrv.Service
}
var DefaultPromService PromService

func (*PromService) Name

func (srv *PromService) Name() string

Name implements the rscsrv.Service interface.

func (*PromService) Start

func (service *PromService) Start() error

Jump to

Keyboard shortcuts

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