Documentation
¶
Index ¶
Constants ¶
View Source
const ( ObjectPath = "/org/desktopspec/deepin/Proxy1" AMInterface = "org.desktopspec.deepin.AMProxy1" DCCInterface = "org.desktopspec.deepin.DCCProxy1" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AMProxy1 ¶
type AMProxy1 interface {
SetProxy(cgroupPath string, state types.CgroupEventType) (e *dbus.Error)
}
type Opt ¶
type Opt func(p *proxyService) (ret *proxyService, err error)
func WithBusNameChannel ¶
func WithContext ¶
func WithDBusConnection ¶
func WithDBusConnection(conn *dbus.Conn) Opt
func WithLogger ¶
func WithLogger(log *zap.SugaredLogger) Opt
Click to show internal directories.
Click to hide internal directories.