application

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2018 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "duci"

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Server *Server `yaml:"server" json:"server"`
}
var (
	Config *Configuration
)

func (*Configuration) Addr

func (c *Configuration) Addr() string

func (*Configuration) Set

func (c *Configuration) Set(path string) error

func (*Configuration) String

func (c *Configuration) String() string

type Server

type Server struct {
	WorkDir    string `yaml:"workdir" json:"workdir"`
	Port       int    `yaml:"port" json:"port"`
	SSHKeyPath string `yaml:"ssh_key_path" json:"sshKeyPath"`
}

Directories

Path Synopsis
service
github/mock_github
Package mock_github is a generated GoMock package.
Package mock_github is a generated GoMock package.
runner/mock_runner
Package mock_runner is a generated GoMock package.
Package mock_runner is a generated GoMock package.

Jump to

Keyboard shortcuts

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