better godoc documentation
This commit is contained in:
15
consts.go
15
consts.go
@@ -1,14 +1,19 @@
|
||||
package gosecret
|
||||
|
||||
// Libsecret/SecretService identifiers.
|
||||
// Libsecret/SecretService/Dbus identifiers.
|
||||
const (
|
||||
// DbusServiceName is the "root Dbus path" in identifier format.
|
||||
DbusServiceName string = "org.freedesktop.secrets"
|
||||
// DbusItemsID is the Dbus identifier for Item.
|
||||
DbusItemsID string = "org.freedesktop.Secret.Collection.Items"
|
||||
// DbusCollectionDelete is the Dbus identifier for Collection.Delete.
|
||||
DbusCollectionDelete string = "org.freedesktop.Secret.Collection.Delete"
|
||||
)
|
||||
|
||||
// Dbus constants
|
||||
// Dbus constants and paths.
|
||||
const (
|
||||
DBusServiceName string = "org.freedesktop.secrets"
|
||||
DBusPath string = "/org/freedesktop/secrets"
|
||||
PromptPrefix string = DBusPath + "/prompt/"
|
||||
// DbusPath is the path version of DbusServiceName.
|
||||
DbusPath string = "/org/freedesktop/secrets"
|
||||
// PromptPrefix is the path used for prompts comparison.
|
||||
PromptPrefix string = DbusPath + "/prompt/"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user