Documentation ¶
Index ¶
- func HttpStreamer(w http.ResponseWriter, req *http.Request, logstream chan *Log, multi bool)
- func WebsocketStreamer(w http.ResponseWriter, req *http.Request, logstream chan *Log, ...)
- type AttachEvent
- type AttachManager
- type Colorizer
- type IgnorantWriter
- type Log
- type LogPump
- type Route
- type RouteFileStore
- type RouteManager
- type RouteStore
- type Source
- type Target
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HttpStreamer ¶
func WebsocketStreamer ¶
Types ¶
type AttachEvent ¶
type AttachManager ¶
var Attacher *AttachManager
func NewAttachManager ¶
func NewAttachManager(client *docker.Client) *AttachManager
func (*AttachManager) Get ¶
func (m *AttachManager) Get(id string) *LogPump
type IgnorantWriter ¶
type IgnorantWriter struct {
// contains filtered or unexported fields
}
type RouteFileStore ¶
type RouteFileStore string
func (RouteFileStore) Add ¶
func (fs RouteFileStore) Add(route *Route) error
func (RouteFileStore) Filename ¶
func (fs RouteFileStore) Filename(id string) string
func (RouteFileStore) GetAll ¶
func (fs RouteFileStore) GetAll() ([]*Route, error)
func (RouteFileStore) Remove ¶
func (fs RouteFileStore) Remove(id string) bool
type RouteManager ¶
var Router *RouteManager
func NewRouteManager ¶
func NewRouteManager(attacher *AttachManager) *RouteManager
func (*RouteManager) Add ¶
func (rm *RouteManager) Add(route *Route) error
func (*RouteManager) GetAll ¶
func (rm *RouteManager) GetAll() ([]*Route, error)
func (*RouteManager) Load ¶
func (rm *RouteManager) Load(persistor RouteStore) error
func (*RouteManager) Remove ¶
func (rm *RouteManager) Remove(id string) bool
type RouteStore ¶
Click to show internal directories.
Click to hide internal directories.