Skip to content
This repository has been archived by the owner on Jan 6, 2022. It is now read-only.

Finalize API #18

Open
guelfey opened this issue May 10, 2013 · 1 comment
Open

Finalize API #18

guelfey opened this issue May 10, 2013 · 1 comment
Assignees

Comments

@guelfey
Copy link
Owner

guelfey commented May 10, 2013

Decide on a stable API. Open questions / issues:

  1. Should Encoder / Decoder be exported? No use case outside of the package comes to mind.
  2. Connection creation is inflexible. There's no way to mock a connection, and the user has little control over the low-level details of connecting.
@ghost ghost assigned guelfey May 10, 2013
guelfey added a commit that referenced this issue Jun 18, 2013
Step 1 for fixing #18.
guelfey added a commit that referenced this issue Jun 18, 2013
This mirrors the API of libdbus. Shared connections as returned by
SessionBus and SystemBus are already registered and authenticated,
and should be used in most cases. For private connections obtained with
Dial or NewConn, authentication can be controlled. As a result, Auth and
Hello are exported, and Auth can be passed a list of auth mechanisms to
try. The interface for authentication has changed as well.

Also, the new functions {Session,System}BusPrivate return private
connections to the respective message bus.

Updates #18.
guelfey added a commit that referenced this issue Jul 22, 2013
@guelfey
Copy link
Owner Author

guelfey commented Jul 29, 2013

Got that commit message wrong. 2ba8c56 is not related to this issue.

@guelfey guelfey reopened this Jul 29, 2013
aulanov pushed a commit to aulanov/go.dbus that referenced this issue Jul 31, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant