Files
play-with-docker/pwd/types/client.go
Jonathan Leibiusky @xetorthio e9911abf94 Storage has now it's own package.
Remove global `sessions` map and use configured storage.
Add a `types` package so both `pwd` and `storage` can access without
circular dependencies.
Now the session is prepared when requested and not on load.
2017-06-15 16:09:41 -03:00

13 lines
141 B
Go

package types
type Client struct {
Id string
ViewPort ViewPort
Session *Session
}
type ViewPort struct {
Rows uint
Cols uint
}