Help us shape the future of Go! Take the 2026 Go Developer Survey

serve

package
v0.7.12 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: MPL-2.0 Imports: 17 Imported by: 21

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Destination added in v0.7.0

func Destination(plugin plugins.DestinationPlugin, opts ...DestinationOption)

func Source added in v0.7.0

func Source(plugin *plugins.SourcePlugin, opts ...SourceOption)

Types

type DestinationOption added in v0.7.0

type DestinationOption func(*destinationServe)

func WithDestinationSentryDSN added in v0.7.0

func WithDestinationSentryDSN(dsn string) DestinationOption

type Options

type Options struct {
	// Required: Source or destination plugin to serve.
	SourcePlugin      *plugins.SourcePlugin
	DestinationPlugin plugins.DestinationPlugin
	SentryDsn         string
}

type SourceOption added in v0.7.0

type SourceOption func(*sourceServe)

func WithSourceSentryDSN added in v0.7.0

func WithSourceSentryDSN(dsn string) SourceOption

Jump to

Keyboard shortcuts

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