change module name
changing module name to `gosecret` for V2.
This commit is contained in:
parent
e298633935
commit
bdee0ea110
@ -1,11 +1,11 @@
|
||||
package libsecret
|
||||
package gosecret
|
||||
|
||||
import (
|
||||
`github.com/godbus/dbus`
|
||||
)
|
||||
|
||||
// NewCollection returns a pointer to a new Collection based on a Dbus connection and a Dbus path.
|
||||
func NewCollection(conn *dbus.Conn, path dbus.ObjectPath) (coll *Collection) {
|
||||
func NewCollection(conn *dbus.Conn, path dbus.ObjectPath) (coll *Collection, err error) {
|
||||
|
||||
coll = &Collection{
|
||||
Conn: conn,
|
||||
|
@ -1,4 +1,4 @@
|
||||
package libsecret
|
||||
package gosecret
|
||||
|
||||
const (
|
||||
DBusServiceName string = "org.freedesktop.secrets"
|
||||
|
4
errs.go
4
errs.go
@ -1,10 +1,10 @@
|
||||
package libsecret
|
||||
package gosecret
|
||||
|
||||
import (
|
||||
`errors`
|
||||
)
|
||||
|
||||
var (
|
||||
ErrNoDbusConn error = errors.New("no valid dbus connection")
|
||||
ErrNoDbusConn error = errors.New("no valid dbus connection")
|
||||
ErrBadDbusPath error = errors.New("invalid dbus path")
|
||||
)
|
||||
|
@ -1,4 +1,4 @@
|
||||
package libsecret
|
||||
package gosecret
|
||||
|
||||
import (
|
||||
`github.com/godbus/dbus`
|
||||
|
@ -1,4 +1,4 @@
|
||||
package libsecret
|
||||
package gosecret
|
||||
|
||||
import (
|
||||
`github.com/godbus/dbus`
|
||||
|
@ -1,4 +1,4 @@
|
||||
package libsecret
|
||||
package gosecret
|
||||
|
||||
// NewSecret returns a pointer to a new Secret based on a Session, parameters, (likely an empty byte slice), a value, and the MIME content type.
|
||||
func NewSecret(session *Session, params []byte, value []byte, contentType string) (secret *Secret) {
|
||||
|
@ -1,4 +1,4 @@
|
||||
package libsecret
|
||||
package gosecret
|
||||
|
||||
import (
|
||||
`github.com/godbus/dbus`
|
||||
|
@ -1,4 +1,4 @@
|
||||
package libsecret
|
||||
package gosecret
|
||||
|
||||
import (
|
||||
`github.com/godbus/dbus`
|
||||
|
Loading…
Reference in New Issue
Block a user