mux

package
Version: v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServeMux

func NewServeMux(opts *Options) (*http.ServeMux, error)

NewServeMux create new http service

Types

type Options

type Options struct {
	BasePath       string
	EnableGraphiQL bool
	Postgraphile   PostgraphileOptions
	RPC            RPCOptions
}

Options configurations for proxy service

type PostgraphileOptions added in v0.3.1

type PostgraphileOptions struct {
	Default    *url.URL
	TracingAPI *url.URL
}

type RPCOptions added in v0.3.1

type RPCOptions struct {
	DefaultClients []*rpc.Client
	TracingClients []*rpc.Client
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL