Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TrafficMetrics ¶
type TrafficMetrics struct {
// contains filtered or unexported fields
}
func NewTrafficMetrics ¶
func NewTrafficMetrics() (*TrafficMetrics, error)
func (*TrafficMetrics) GetTimer ¶
func (tm *TrafficMetrics) GetTimer(urlPath string) *TrafficTimer
func (*TrafficMetrics) RequestHandled ¶
func (tm *TrafficMetrics) RequestHandled(urlPath string, status int)
type TrafficTimer ¶
type TrafficTimer struct {
// contains filtered or unexported fields
}
func (*TrafficTimer) ObserveDuration ¶
func (timer *TrafficTimer) ObserveDuration()
type UsersMetrics ¶
type UsersMetrics struct {
// contains filtered or unexported fields
}
func NewUsersMetrics ¶
func NewUsersMetrics() (*UsersMetrics, error)
func (*UsersMetrics) UserRegistered ¶
func (um *UsersMetrics) UserRegistered()
Click to show internal directories.
Click to hide internal directories.