MCPcopy Create free account
hub / github.com/couchbase/cbft / parseAliasParams

Function parseAliasParams

pindex_alias.go:180–187  ·  view source on GitHub ↗
(aliasDefParams string)

Source from the content-addressed store, hash-verified

178}
179
180func parseAliasParams(aliasDefParams string) (*AliasParams, error) {
181 params := AliasParams{}
182 err := UnmarshalJSON([]byte(aliasDefParams), &params)
183 if err != nil {
184 return nil, err
185 }
186 return &params, nil
187}
188
189func getRemoteClients(mgr *cbgt.Manager) addRemoteClients {
190 var addRemClients addRemoteClients

Callers 2

sourceNamesForAliasFunction · 0.85

Calls 1

UnmarshalJSONFunction · 0.85

Tested by

no test coverage detected