service

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 14, 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 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