service

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Setup

func Setup(service Service)

Types

type Service

type Service interface {
	Run()
	AddFlags()
}

type ServiceLibvirt

type ServiceLibvirt struct {
	LibvirtUri string
}

func (*ServiceLibvirt) AddLibvirtFlags

func (service *ServiceLibvirt) AddLibvirtFlags()

type ServiceListen

type ServiceListen struct {
	Name        string
	BindAddress string
	Port        int
}

func (*ServiceListen) AddCommonFlags

func (service *ServiceListen) AddCommonFlags()

func (*ServiceListen) Address

func (service *ServiceListen) Address() string

func (*ServiceListen) InitFlags

func (service *ServiceListen) InitFlags()

Jump to

Keyboard shortcuts

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