Versions in this module Expand all Collapse all v0 v0.2.0 May 31, 2023 Changes in this version + const DefaultConnectionErrorLimit + var WebsocketMessageType = map[int]string + func GetHandler(opts HandlerOpts) func(http.ResponseWriter, *http.Request) + type HandlerOpts struct + AllowedHostnames []string + Arguments []string + Command string + ConnectionErrorLimit int + CreateLogger func(string, *http.Request) Logger + KeepalivePingTimeout time.Duration + MaxBufferSizeBytes int + type Logger interface + Debug func(...interface{}) + Debugf func(string, ...interface{}) + Error func(...interface{}) + Errorf func(string, ...interface{}) + Info func(...interface{}) + Infof func(string, ...interface{}) + Trace func(...interface{}) + Tracef func(string, ...interface{}) + Warn func(...interface{}) + Warnf func(string, ...interface{}) + type TTYSize struct + Cols uint16 + Rows uint16 + X uint16 + Y uint16