Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(ctx context.Context) []grpc.ServerOption
Register registers a new compressor plugin for grpc server. Compressor represents compressor plugin for grpc server. NewCompressorWithOptions returns a new compressor plugin with options. NewCompressorWithConfigPath returns a new compressor plugin with options from config path. NewCompressor returns a new compressor plugin with default options. Register registers this compressor plugin for grpc server.
Types ¶
type Newrelic ¶
type Newrelic struct {
// contains filtered or unexported fields
}
func NewNewrelic ¶
func NewNewrelic() *Newrelic
func NewNewrelicWithOptions ¶
type Options ¶
Options newrelic plugin for grpc server options.
func NewOptions ¶
NewOptions returns options from config file or environment vars.
func NewOptionsWithPath ¶
NewOptionsWithPath unmarshals a given key path into options and returns it.
Click to show internal directories.
Click to hide internal directories.