G-authy / g-authy.github.io

Apache License 2.0
1 stars 0 forks source link

Secrets API

This is a simple API built with Go and Gorilla Mux for managing secrets.

Structures

The API deals with Secret objects, which have the following structure:

type Secret struct {
    ID   string `json:"id"`
    Name string `json:"name"`
}

The API hEndpoints

The API has the following endpoints:

Running the Project

To run the project, use the following command go run secrets.go

This will start the server at port 8080.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

Apache-2.0 license