app

package
v0.1.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Schema string

Functions

func GraphQL

func GraphQL(provider 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

Types

type Config

type Config struct {
	ListenAddress string
	DBUrl         string
}

func DefaultConfig

func DefaultConfig() Config

Jump to

Keyboard shortcuts

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