appconfig

package module
v0.0.0-...-56a54ac Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2020 License: MIT Imports: 9 Imported by: 0

README

Gopher Things

Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SignRequest

func SignRequest(id string, secret string, req *http.Request) error

SignRequest Setup the auth header for accessing Azure AppConfiguration service

Types

type AppConfig

type AppConfig struct {
	Endpoint string
	ID       string
	Secret   string
}

AppConfig contains the endpoint, ID and Secret for accessing Azure AppConfig service. Create with New()

func New

func New(connectionString string) *AppConfig

New creates a new AppConfig instance from the connection string provided in the Azure Portal.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL