server

package
v0.0.0-...-3f0a6de Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server interface {
	Start() error
	StartTest() (*httptest.Server, error)
	Close()
}

Server interface

func NewServer

func NewServer(
	logger *zap.Logger,
	schema graphql.Schema,
	method httpmethod.HTTPMethod,
	port int,
	db *sql.DB,
) Server

NewServer returns Server interface

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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