service

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProvideService

func ProvideService() I.IService

ProvideService ...

Types

type Service

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

Service ...

func (*Service) GetActive

func (service *Service) GetActive(i ...interface{}) bool

GetActive ...

func (*Service) GetName

func (service *Service) GetName() string

GetName ...

func (*Service) GetPath

func (service *Service) GetPath(i ...interface{}) string

GetPath ...

func (*Service) GetValues

func (service *Service) GetValues(i ...interface{}) []string

GetValues ...

func (*Service) Init

func (service *Service) Init(
	id uint,
	name string,
	path string,
	active bool,
	environment string,
	executor interface{}) error

Init ...

func (*Service) SetActive

func (service *Service) SetActive(active bool, i ...interface{}) error

SetActive ...

func (*Service) SetPath

func (service *Service) SetPath(path string, i ...interface{}) error

SetPath ...

func (*Service) ToggleActive

func (service *Service) ToggleActive(i ...interface{}) error

ToggleActive ...

Jump to

Keyboard shortcuts

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