Skip to content

Commit

Permalink
Remove legacy configuration options from doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
olomix committed Feb 26, 2024
1 parent 84a2e56 commit e013f28
Showing 1 changed file with 10 additions and 31 deletions.
41 changes: 10 additions & 31 deletions cmd/polygonid/polygonid.go
Original file line number Diff line number Diff line change
Expand Up @@ -575,13 +575,9 @@ func PLGNProfileID(jsonResponse **C.char, in *C.char,
// Additional configuration may be required for Reverse Hash Service
// revocation validation. In other case cfg may be nil.
//
// Sample configuration:
// The configuration example may be found in the [README.md] file.
//
// {
// "ethereumUrl": "http://localhost:8545",
// "stateContractAddr": "0xEA9aF2088B4a9770fC32A12fD42E61BDD317E655",
// "reverseHashServiceUrl": "http://localhost:8003"
// }
// [README.md] https://github.com/0xPolygonID/c-polygonid/blob/main/README.md#configuration
//
//export PLGNAtomicQuerySigV2Inputs
func PLGNAtomicQuerySigV2Inputs(jsonResponse **C.char, in *C.char, cfg *C.char,
Expand Down Expand Up @@ -667,13 +663,9 @@ func marshalInputsResponse(
// Additional configuration may be required for Reverse Hash Service
// revocation validation. In other case cfg may be nil.
//
// Sample configuration:
// The configuration example may be found in the [README.md] file.
//
// {
// "ethereumUrl": "http://localhost:8545",
// "stateContractAddr": "0xEA9aF2088B4a9770fC32A12fD42E61BDD317E655",
// "reverseHashServiceUrl": "http://localhost:8003"
// }
// [README.md] https://github.com/0xPolygonID/c-polygonid/blob/main/README.md#configuration
//
//export PLGNAtomicQueryMtpV2Inputs
func PLGNAtomicQueryMtpV2Inputs(jsonResponse **C.char, in *C.char, cfg *C.char,
Expand Down Expand Up @@ -734,13 +726,9 @@ func PLGNMtpV2Inputs(jsonResponse **C.char, in *C.char,
// Additional configuration may be required for Reverse Hash Service
// revocation validation. In other case cfg may be nil.
//
// Sample configuration:
// The configuration example may be found in the [README.md] file.
//
// {
// "ethereumUrl": "http://localhost:8545",
// "stateContractAddr": "0xEA9aF2088B4a9770fC32A12fD42E61BDD317E655",
// "reverseHashServiceUrl": "http://localhost:8003"
// }
// [README.md] https://github.com/0xPolygonID/c-polygonid/blob/main/README.md#configuration
//
//export PLGNAtomicQuerySigV2OnChainInputs
func PLGNAtomicQuerySigV2OnChainInputs(jsonResponse **C.char, in *C.char,
Expand All @@ -759,13 +747,9 @@ func PLGNAtomicQuerySigV2OnChainInputs(jsonResponse **C.char, in *C.char,
// Additional configuration may be required for Reverse Hash Service
// revocation validation. In other case cfg may be nil.
//
// Sample configuration:
// The configuration example may be found in the [README.md] file.
//
// {
// "ethereumUrl": "http://localhost:8545",
// "stateContractAddr": "0xEA9aF2088B4a9770fC32A12fD42E61BDD317E655",
// "reverseHashServiceUrl": "http://localhost:8003"
// }
// [README.md] https://github.com/0xPolygonID/c-polygonid/blob/main/README.md#configuration
//
//export PLGNAtomicQueryMtpV2OnChainInputs
func PLGNAtomicQueryMtpV2OnChainInputs(jsonResponse **C.char, in *C.char,
Expand Down Expand Up @@ -871,14 +855,9 @@ func PLGNCacheCredentials(in *C.char, cfg *C.char, status **C.PLGNStatus) bool {
// "version": "0.0.1"
// }
//
// Sample configuration:
// The configuration example may be found in the [README.md] file.
//
// {
// "ChainConfigs": {
// "80001": {
// "RPCUrl": "https://rpc-mumbai",
// }
// }
// [README.md] https://github.com/0xPolygonID/c-polygonid/blob/main/README.md#configuration
//
//export PLGNW3CCredentialFromOnchainHex
func PLGNW3CCredentialFromOnchainHex(jsonResponse **C.char, in *C.char,
Expand Down

0 comments on commit e013f28

Please sign in to comment.