Skip to content

First stable version intended for production code

Latest
Compare
Choose a tag to compare
@avegner avegner released this 24 Feb 09:39

API:

func List(ctx context.Context) ([]*Device, error)
func Block(option BlockOption) error
func Unblock(option BlockOption) error
func Events(ctx context.Context, pollInterval time.Duration, callback func(ev *Event)) error