Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func Initialize(db *storage.Database, msgProducer message.TopicProducer, cfg *config.ServerConfig) (*chi.Mux, error)
Initialize starts the database, kafka message producer, middleware, and endpoints
Types ¶
type Server ¶
func (*Server) CheckLiveness ¶
func (s *Server) CheckLiveness() http.HandlerFunc
func (*Server) CheckReadiness ¶
func (s *Server) CheckReadiness() http.HandlerFunc
func (*Server) CheckStatus ¶
func (s *Server) CheckStatus(cfg *config.ServerConfig) http.HandlerFunc
Directories ¶
Path | Synopsis |
---|---|
schema
Portions of this file were taken from https://github.com/tonyghita/graphql-go-example/blob/main/schema/schema.go
|
Portions of this file were taken from https://github.com/tonyghita/graphql-go-example/blob/main/schema/schema.go |
schema/types
Custom implementation of JSON type because graph-gophers/graphql-go does not support the custom JSON scalar type
|
Custom implementation of JSON type because graph-gophers/graphql-go does not support the custom JSON scalar type |
Click to show internal directories.
Click to hide internal directories.