Skip to content
Snippets Groups Projects
Commit 97d24699 authored by Richard T. Carback III's avatar Richard T. Carback III
Browse files

Add api params object

parent 19fcae0d
Branches
No related tags found
3 merge requests!510Release,!207WIP: Client Restructure,!203Symmetric broadcast
///////////////////////////////////////////////////////////////////////////////
// Copyright © 2020 xx network SEZC //
// //
// Use of this source code is governed by a license that can be found in the //
// LICENSE file //
///////////////////////////////////////////////////////////////////////////////
package api
import (
"gitlab.com/elixxir/client/auth"
"gitlab.com/elixxir/client/cmix"
"gitlab.com/elixxir/client/e2e"
"gitlab.com/elixxir/client/e2e/ratchet/partner/session"
"gitlab.com/elixxir/client/e2e/rekey"
)
type Params struct {
E2E e2e.Params
CMix cmix.Params
Network cmix.CMIXParams
Session session.Params
Auth auth.Param
Rekey rekey.Params
}
func GetDefaultParams() Params {
return Params{
E2E: e2e.GetDefaultParams(),
CMix: cmix.GetDefaultParams(),
Network: cmix.GetDefaultCMIXParams(),
Session: session.GetDefaultParams(),
Auth: auth.GetDefaultParams(),
Rekey: rekey.GetDefaultParams(),
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment