bind

package
Version: v0.0.0-...-cb50108 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Rendered for darwin/amd64

Index

Constants

This section is empty.

Variables

This section is empty.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL