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
Click to show internal directories.
Click to hide internal directories.