envix

package module
v1.0.7 Latest Latest
Warning

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

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

README

envuery

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Query added in v1.0.5

type Query struct {
	Command string
	Result  []byte
}

Query is struct for contain command and result of os execute

type Service added in v1.0.2

type Service int

Service is collection of available service

const (
	//UNKNOWN Service
	UNKNOWN Service = 0

	//MSMQ Service
	MSMQ Service = 1

	//MSDTC Service
	MSDTC Service = 2
)

func (Service) ExecutableName added in v1.0.2

func (svc Service) ExecutableName() string

ExecutableName is method to get executable name in string datatype

func (Service) String added in v1.0.2

func (svc Service) String() string

String is method to get service name in string datatype

type Services

type Services struct {
	Service Service
	Active  bool
	Target  Target
	Query   Query
	Debug   bool
}

Services is struct for contain service info

func (Services) Get added in v1.0.2

func (svc Services) Get() (Services, error)

Get is method to get service information

type Target added in v1.0.2

type Target struct {
	Address  string
	User     string
	Password string
}

Target is struct to save target information & credential

Jump to

Keyboard shortcuts

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