Skip to content

stone1549/message

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

message

Example REST service for sending/receiving messages, written in Go using Chi.

Prereqs

You probably want to checkout the monorepo yapyapyap instead

Configuration

Environment Variables

Variable Description Possible Values
MESSAGE_SERVICE_ENVIRONMENT Controls log levels and configuration defaults DEV, PRE_PROD, PROD
MESSAGE_SERVICE_REPO_TYPE Sets the type of storage to be used IN_MEMORY, POSTGRESQL, AUTH_SERVICE_PG_URL
MESSAGE_SERVICE_TIMEOUT Incoming request timeout value in seconds number
MESSAGE_SERVICE_PORT Port to run service on number
MESSAGE_SERVICE_PG_URL Full connection string for PG string
MESSAGE_SERVICE_TOKEN_PRIV private key for signing jwt tokens string
MESSAGE_SERVICE_TOKEN_PUB public key for signing jwt tokens string

Run

go run main.go

About

service for sending/receiving messages

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published