-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: addition of client code corresponding to packages customeradmin…
…istration +2 (#1126)
- Loading branch information
1 parent
8c11550
commit 0e073a6
Showing
21 changed files
with
4,600 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
package authorizationmanagement | ||
|
||
import ( | ||
"github.com/newrelic/newrelic-client-go/v2/internal/http" | ||
"github.com/newrelic/newrelic-client-go/v2/pkg/config" | ||
"github.com/newrelic/newrelic-client-go/v2/pkg/logging" | ||
) | ||
|
||
type Authorizationmanagement struct { | ||
client http.Client | ||
logger logging.Logger | ||
config config.Config | ||
} | ||
|
||
func New(config config.Config) Authorizationmanagement { | ||
client := http.NewClient(config) | ||
|
||
pkg := Authorizationmanagement{ | ||
client: client, | ||
logger: config.GetLogger(), | ||
config: config, | ||
} | ||
return pkg | ||
} |
Oops, something went wrong.