Documentation ¶ Index ¶ func GraphqlHandler(db *gorm.DB, cfg *config.Config) http.Handler type Cache func (c *Cache) Add(ctx context.Context, key string, value interface{}) func (c *Cache) Get(ctx context.Context, key string) (interface{}, bool) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GraphqlHandler ¶ func GraphqlHandler(db *gorm.DB, cfg *config.Config) http.Handler GraphqlHandler constructs and returns a http handler Types ¶ type Cache ¶ type Cache struct { // contains filtered or unexported fields } func (*Cache) Add ¶ func (c *Cache) Add(ctx context.Context, key string, value interface{}) func (*Cache) Get ¶ func (c *Cache) Get(ctx context.Context, key string) (interface{}, bool) Source Files ¶ View all Source files cache.go graphql.go Click to show internal directories. Click to hide internal directories.