single

package
v0.0.0-...-4cd9d19 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*Options)

func SetId

func SetId(v string) Option

func SetType

func SetType(v string) Option

func SetVersion

func SetVersion(v int32) Option

func SetWorkPath

func SetWorkPath(v string) Option

type Options

type Options struct {
	Id       string
	Type     string
	Version  int32
	WorkPath string
	Setting  core.ServiceSttings
}

type SingleService

type SingleService struct {
	cbase.ServiceBase
	// contains filtered or unexported fields
}

func (*SingleService) Configure

func (this *SingleService) Configure(opts ...Option)

func (*SingleService) GetId

func (this *SingleService) GetId() string

func (*SingleService) GetSettings

func (this *SingleService) GetSettings() core.ServiceSttings

func (*SingleService) GetType

func (this *SingleService) GetType() string

func (*SingleService) GetVersion

func (this *SingleService) GetVersion() int32

func (*SingleService) GetWorkPath

func (this *SingleService) GetWorkPath() string

Jump to

Keyboard shortcuts

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