Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fuadop/my_server
example sendchamp go library usage in an http server.
https://github.com/fuadop/my_server
Last synced: 5 days ago
JSON representation
example sendchamp go library usage in an http server.
- Host: GitHub
- URL: https://github.com/fuadop/my_server
- Owner: fuadop
- Created: 2022-05-02T21:40:24.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-05-02T21:45:09.000Z (over 2 years ago)
- Last Synced: 2024-10-12T07:05:46.593Z (about 1 month ago)
- Language: Go
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Example usage of sendchamp go lib in an http server.
### Note
In your dotenv file.. define your public key with single quotes around the value, bash assumes "`$`" as variables so they might get replaced or ignored.```bash
SENDCHAMP_PUBLIC_KEY='sendchamp_test_$2y$10$U2SHG5T2F/cr0jfzNCKgguHv.23plvJP/75EzZjF5MtLXz65SDrQi'
```If the single quotes in the above was ignored, bash would replace `$2`, `$1` and `$U` with blank values making your token invalid.