app

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Schema string

Functions

func GraphQL

func GraphQL(p data.Provider) http.Handler

GraphQL returns a new graphql handler. We use the relay handler to create the graphql handler.

func Run

func Run(ctx context.Context, cfg Config) error

func WriteConfigTOML added in v0.1.4

func WriteConfigTOML(cfg Config, logCfg log.Config, path string) error

WriteConfigTOML writes the toml graphql config to disk.

Types

type Config

type Config struct {
	ListenAddr     string
	ExplorerDBConn string
	MonitoringAddr string
}

func DefaultConfig

func DefaultConfig() Config

Jump to

Keyboard shortcuts

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