27 lines
360 B
Go
27 lines
360 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"github.com/rs/zerolog/log"
|
|
"net/http"
|
|
"time"
|
|
//"github.com/bitly/go-simplejson"
|
|
)
|
|
|
|
type InstanceHostName string
|
|
|
|
type Archiver struct {
|
|
locator *InstanceLocator
|
|
instances map[InstanceHostName]*Instance
|
|
startup *time.Time
|
|
}
|
|
|
|
func NewArchiver() *Archiver {
|
|
a := new(Archiver)
|
|
return a
|
|
}
|
|
|
|
func (a *Archiver) Run() {
|
|
|
|
}
|