Documentation ¶
Index ¶
Constants ¶
View Source
const ( HashOpName = "bcrypt.hash" CompareOpName = "bcrypt.compare" WorkFactorTagName = "bcrypt.workfactor" )
Variables ¶
This section is empty.
Functions ¶
func HelpMessage ¶
func HelpMessage() string
Types ¶
type JaegerConfig ¶
type TracedBCrypt ¶
type TracedBCrypt struct {
WorkFactor int
}
TracedBCrypt implements the Hasher interface
type Tracer ¶
type Tracer struct { ServiceName string Provider string Logger *logrusx.Logger JaegerConfig *JaegerConfig ZipkinConfig *ZipkinConfig // contains filtered or unexported fields }
func (*Tracer) ServeHTTP ¶
func (t *Tracer) ServeHTTP(rw http.ResponseWriter, r *http.Request, next http.HandlerFunc)
type ZipkinConfig ¶ added in v1.5.0
type ZipkinConfig struct {
ServerURL string
}
Click to show internal directories.
Click to hide internal directories.