rainbond: github.com/goodrain/rainbond/util/windows Index | Files

package windows

import "github.com/goodrain/rainbond/util/windows"


Package Files


func RegisterService Uses

func RegisterService(serviceName, execPath, displayName string, depends, args []string) error

RegisterService register a service

func RestartService Uses

func RestartService(serviceName string) error

RestartService restart a windows service

func RunAsService Uses

func RunAsService(name string, start, stop func() error, isDebug bool) (err error)

RunAsService run as windows service

func StartService Uses

func StartService(serviceName string) error

StartService start a windows service

func StopService Uses

func StopService(serviceName string) error

StopService stop a windows service

func UnRegisterService Uses

func UnRegisterService(serviceName string) error

UnRegisterService unres

Package windows imports 9 packages (graph) and is imported by 2 packages. Updated 2018-12-17 with GOOS=windows. Refresh now. Tools for package owners.