Documentation ¶
Overview ¶
Package features provides an interface to implement custom cloud features. This provider is used by the [server] package.
This package also provides a default feature provider implementation
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeatureProvider ¶
type FeatureProvider interface { New(serviceName string, onError func(err error)) error Close() error Report(err error, req *http.Request) }
FeatureProvider provides specific cloud features. If manages the instanciation and closing the features.
type FeatureProviderImpl ¶
type FeatureProviderImpl struct {
// contains filtered or unexported fields
}
func (*FeatureProviderImpl) Close ¶
func (f *FeatureProviderImpl) Close() error
Click to show internal directories.
Click to hide internal directories.