Documentation
¶
Index ¶
Constants ¶
View Source
const ( // goapptraceによって作成されたディレクトリとファイルの、デフォルトのパーミッション DefaultDirPerm = 0700 DefaultFilePerm = 0600 ConfigFilePerm = 0666 )
View Source
const ( DefaultLogServerAddr = "localhost:8600" DefaultApiServerAddr = "localhost:8700" )
View Source
const (
TimestampFormat = "15:04:05.999999999"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiServerConfig ¶
type ApiServerConfig struct {
ServerID ServerID `json:"server-id"`
Version int `json:"version"`
// server address like "http://x.x.x.x:xxxx".
Addr string `json:"address"`
}
configuration for the REST API server.
type BuildProcess ¶
type BuildProcess struct {
Args []string
}
type Config ¶
type Config struct {
Servers Servers
// contains filtered or unexported fields
}
func (*Config) SaveIfWant ¶
type ExecProcess ¶
type ExecProcess struct {
Args []string
}
type LogServerConfig ¶
type LogServerConfig struct {
ServerID ServerID `json:"server-id"`
Version int `json:"version"`
// server address like "tcp://x.x.x.x:xxxx".
Addr string `json:"address"`
}
configuration for Log server.
type Servers ¶
type Servers struct {
LogServer map[ServerID]*LogServerConfig
ApiServer map[ServerID]*ApiServerConfig
}
func NewServers ¶
func NewServers() *Servers
type Target ¶
type Target struct {
Name TargetName
Files []string
Build BuildProcess
Run ExecProcess
Trace map[string]*Trace
}
type TargetName ¶
type TargetName string
type Targets ¶
type Targets struct {
Targets map[TargetName]*Target
}
func NewTargets ¶
func NewTargets() *Targets
func (*Targets) Delete ¶
func (tt *Targets) Delete(name TargetName) error
Click to show internal directories.
Click to hide internal directories.