1
0
mirror of https://github.com/bingohuang/docker-labs.git synced 2025-07-14 18:27:25 +08:00
docker-labs/types/session.go
2016-10-08 14:26:25 +02:00

19 lines
432 B
Go

package types
import (
"github.com/docker/docker/api/types"
"github.com/franela/play-with-docker/cookoo"
)
type Session struct {
Id string `json:"id"`
Instances map[string]*Instance `json:"instances"`
}
type Instance struct {
Name string `json:"name"`
IP string `json:"ip"`
Stdout *cookoo.MultiWriter `json:"-"`
Conn *types.HijackedResponse `json:"-"`
}