Documentation ¶
Index ¶
- func NewServer(port int, opt ...Option) (*server, error)
- type Logger
- type Option
- func WithCustomViews(views ...*view.View) Option
- func WithGracefulPeriod(period time.Duration) Option
- func WithGrpcViews(views ...*view.View) Option
- func WithHttpViews(views ...*view.View) Option
- func WithLogger(logger Logger) Option
- func WithNamespace(namespace string) Option
- func WithPath(path string) Option
- func WithReportingPeriod(period time.Duration) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶
type Option func(*options)
func WithCustomViews ¶
func WithGracefulPeriod ¶
func WithGrpcViews ¶
func WithHttpViews ¶
func WithLogger ¶
func WithNamespace ¶
func WithReportingPeriod ¶
Click to show internal directories.
Click to hide internal directories.