Documentation
¶
Overview ¶
Package dmsocket is the wire of lys-login's display manager sockets: one JSON request per connection and one Reply, the file the request went to or a Refusal and its reason. A client sends with an Endpoint; Apply is the change of the login screen any program may ask for.
Index ¶
Constants ¶
const DefaultRuntimeDir = "/run/lys-login"
Variables ¶
var Apply = Endpoint[greeterconfig.Change]{ Name: "apply.sock", MaxRequest: (greeterconfig.MaxStaged+greeterconfig.MaxImage)/3*4 + 4096, Exchange: 5 * time.Minute, }
var ErrNoDaemon = errors.New("lys-login's display manager is not running")
Functions ¶
Types ¶
type RefusedError ¶
func (*RefusedError) Error ¶
func (e *RefusedError) Error() string