content

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2021 License: MIT Imports: 23 Imported by: 3

Documentation

Index

Constants

View Source
const BaseConfig = `` /* 298-byte string literal not displayed */

Variables

This section is empty.

Functions

This section is empty.

Types

type BloxImage

type BloxImage struct {
	FileName string `yaml:"file_name"`
	Height   int    `yaml:"height"`
	Width    int    `yaml:"width"`
	CDN      string `yaml:"cdn"`
}

type Service

type Service struct {
	Cfg *blox.Config
	// contains filtered or unexported fields
}

func NewService

func NewService(bloxConfig string, referentialIntegrity bool) (*Service, error)

func (*Service) GQLHandlerFunc

func (s *Service) GQLHandlerFunc() (http.HandlerFunc, error)

GQLHandlerFunc returns a stand alone graphql handler for use in netlify/aws/azure serverless scenarios

func (*Service) GQLPlaygroundHandler

func (s *Service) GQLPlaygroundHandler() (http.Handler, error)

GQLPlaygroundHandler returns a stand alone graphql playground handler for use in netlify/aws/azure serverless scenarios

func (*Service) RenderAndSave

func (s *Service) RenderAndSave() error

func (*Service) RenderJSON

func (s *Service) RenderJSON() ([]byte, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL