service

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup added in v0.1.0

func Setup(service Service)

Types

type Service

type Service interface {
	Run()
	AddFlags()
}

type ServiceLibvirt added in v0.1.0

type ServiceLibvirt struct {
	LibvirtUri string
}

func (*ServiceLibvirt) AddLibvirtFlags added in v0.1.0

func (service *ServiceLibvirt) AddLibvirtFlags()

type ServiceListen added in v0.1.0

type ServiceListen struct {
	Name        string
	BindAddress string
	Port        int
}

func (*ServiceListen) AddCommonFlags added in v0.1.0

func (service *ServiceListen) AddCommonFlags()

func (*ServiceListen) Address added in v0.1.0

func (service *ServiceListen) Address() string

func (*ServiceListen) InitFlags added in v0.1.0

func (service *ServiceListen) InitFlags()

Jump to

Keyboard shortcuts

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