package bind

import "github.com/keybase/go-keychain/bind"

Index

Functions

func AddGenericPassword

func AddGenericPassword(service string, account string, label string, password string, accessGroup string) error

AddGenericPassword adds generic password

func DeleteGenericPassword

func DeleteGenericPassword(service string, account string, accessGroup string) error

DeleteGenericPassword deletes generic password

func GenericPasswordTest

func GenericPasswordTest(t Test, service string, accessGroup string)

GenericPasswordTest runs test code for generic password keychain item. This is here so we can export using gomobile bind and run this method on iOS simulator and device. Access groups aren't supported in iOS simulator.

Types

type Test

type Test interface {
	Fail(s string)
}

Test is a bind interface for the test

Source Files

bind.go

Version
v0.0.1 (latest)
Published
Feb 27, 2025
Platform
darwin/amd64
Imports
3 packages
Last checked
1 week ago

Tools for package owners.