Skip to content
Snippets Groups Projects
Commit cc3b404b authored by Josh Brooks's avatar Josh Brooks
Browse files

Refactor server side API call

parent dc7b0f35
No related branches found
No related tags found
3 merge requests!510Release,!216Xx 3895/authenticated connection,!207WIP: Client Restructure
......@@ -145,10 +145,10 @@ func Connect(recipient contact.Contact, myId *id.ID, privKey *cyclic.Int,
}
}
// RegisterConnectionCallback assembles a Connection object on the reception-side
// StartServer assembles a Connection object on the reception-side
// and feeds it into the given Callback whenever an incoming request
// for an E2E partnership with a partner.Manager is confirmed.
func RegisterConnectionCallback(cb Callback, myId *id.ID, privKey *cyclic.Int,
func StartServer(cb Callback, myId *id.ID, privKey *cyclic.Int,
rng *fastRNG.StreamGenerator, grp *cyclic.Group, net cmix.Client,
p Params) error {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment