Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Core ¶
type Core struct {
// contains filtered or unexported fields
}
Core defines high-level methods for titan's external operations.
func NewCore ¶
func NewCore(options ...CoreOption) (*Core, error)
NewCore returns a fully initialized Core.
type CoreOption ¶
type CoreOption func(*Core)
CoreOption applies a parameter to a Core.
func OptionMetricsCollector ¶
func OptionMetricsCollector(collector *metrics.Collector) CoreOption
OptionMetricsCollector sets the http.Handler to use for the metrics endpoint.
Click to show internal directories.
Click to hide internal directories.