{"modulePath":"github.com/Orange-OpenSource/remote-key-server","version":"v1.0.1","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package node\n\nSoftware Name : Remote Key Server Version: 0.9.0 SPDX-FileCopyrightText: Copyright (c) 2020 Orange SPDX-License-Identifier: MPL-2.0\n\nThis software is distributed under the Mozilla Public License 2.0, the text of which is available at [https://www.mozilla.org/en-US/MPL/2.0/](https://www.mozilla.org/en-US/MPL/2.0/) or see the \"LICENSE\" file for more details.\n\nAuthor: Glenn Feunteun, Celine Nicolas\n\nSoftware Name : Remote Key Server Version: 0.9.0 SPDX-FileCopyrightText: Copyright (c) 2020 Orange SPDX-License-Identifier: MPL-2.0\n\nThis software is distributed under the Mozilla Public License 2.0, the text of which is available at [https://www.mozilla.org/en-US/MPL/2.0/](https://www.mozilla.org/en-US/MPL/2.0/) or see the \"LICENSE\" file for more details.\n\nAuthor: Glenn Feunteun, Celine Nicolas\n\n## Functions\n\n```go\nfunc Callback(ctx context.Context, groupRegInfo *model.GroupRegInfo, nodeID string) *model.RksError\n```\n\n```go\nfunc GetHttpClient(insecure bool) *http.Client\n```\n\n```go\nfunc RegisterNode(w http.ResponseWriter, r *http.Request)\n```\n\n```go\nfunc RenewToken(w http.ResponseWriter, r *http.Request)\n```\n\n## Types\n\n```go\ntype OAuthResponse struct {\n\tAccessToken string `json:\"access_token\"`\n}\n```\nAnonymous structure to decode json response and get oAuth access\\_token\n\n```go\nfunc OAuthCallback(ctx context.Context, httpClient *http.Client, groupRegInfo *model.GroupRegInfo) (*OAuthResponse, *model.RksError)\n```\n\n","path":"github.com/Orange-OpenSource/remote-key-server/pkg/api/node","name":"node","synopsis":"Software Name : Remote Key Server Version: 0.9.0 SPDX-FileCopyrightText: Copyright (c) 2020 Orange SPDX-License-Identifier: MPL-2.0 This software is distributed under the Mozilla Public License 2.0, the text of which is available at https://www.mozilla.org/en-US/MPL/2.0/ or see the \"LICENSE\" file for more details.","isRedistributable":true}
