serverworks

package
v0.0.0-...-11d8d65 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IsReady bool

Functions

This section is empty.

Types

type ServerFunctionConf

type ServerFunctionConf struct {
	Sourceurl string `yaml:"sourceurl,omitempty" json:"sourceurl,omitempty"`
	SubFolder string `yaml:"subfolder,omitempty" json:"subfolder,omitempty"`
	Path      string `yaml:"path,omitempty" json:"path,omitempty"`
	Username  string `yaml:"username,omitempty" json:"username,omitempty"`
	Password  string `yaml:"password,omitempty" json:"password,omitempty"`
}

type ServerWorks

type ServerWorks struct {
	Conf *ServerWorksConf
}

func (*ServerWorks) CloneBuildLoad

func (s *ServerWorks) CloneBuildLoad(url, folder, username, password, path string) error

func (*ServerWorks) GetAppEnvByName

func (s *ServerWorks) GetAppEnvByName(name string) goappenv.GoAppEnv

func (*ServerWorks) Load

func (s *ServerWorks) Load(path, mod string)

func (*ServerWorks) RunServe

func (s *ServerWorks) RunServe()

type ServerWorksConf

type ServerWorksConf struct {
	Serverfunctions map[string]ServerFunctionConf `yaml:"serverfunctions,omitempty" json:"serverfunctions,omitempty"`
}

Jump to

Keyboard shortcuts

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