mux

package
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2023 License: AGPL-3.0 Imports: 6 Imported by: 3

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
y or Y : Canonical URL