Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Wrap ¶
func Wrap(dc api.DgraphClient, opts ...Option) api.DgraphClient
Wrap creates wraps the DgraphClient to spport to creating newrelic segments on each requests.
Types ¶
type Option ¶
type Option func(*options)
func WithDatabaseName ¶
WithHost sets database name to newrelic segment.
Click to show internal directories.
Click to hide internal directories.