http

package
v0.0.0-...-ad801e6 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServer

func NewServer(address string, svc handlers.Service, opts *Options) xserver.Server

NewServer creates a new http server.

Types

type Options

type Options struct {
	// contains filtered or unexported fields
}

Options provide a set of HTTP server options.

func NewOptions

func NewOptions() *Options

NewOptions creates a new set of server options.

func (*Options) InstrumentOptions

func (o *Options) InstrumentOptions() instrument.Options

InstrumentOptions returns the instrument options.

func (*Options) SetInstrumentOptions

func (o *Options) SetInstrumentOptions(value instrument.Options) *Options

SetInstrumentOptions sets the instrument options.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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