automation

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2019 License: Apache-2.0, Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

automation 自动更新,原本是依赖 git 拉取代码更新做的 后面暂时没有在使用

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoDeploy

func AutoDeploy()

AutoDeploy 自动更新 @since 0.0.1

func GitClone

func GitClone(path string) error

GitClone 从代码库拉取 @since 0.0.1

func GitPull

func GitPull(path string) error

GitPull 从代码库拉取 @since 0.0.1

func GoBuild

func GoBuild(path string, appName string) error

GoBuild 编译新拉取的项目 @since 0.0.1

func Kill

func Kill()

Kill 结束自己 @since 0.0.1

func Run

func Run(path string, appName string) error

Run 运行新项目 @since 0.0.1

func WriteSSHKey

func WriteSSHKey() error

WriteSSHKey 将私钥写到目录 @since 0.0.1

Types

This section is empty.

Jump to

Keyboard shortcuts

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