Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API interface { AddWallet(serviceTrans types.ServiceTransport, service string, callbackURL string, p ...mint.PublicKey) bool RemoveWallet(service string, p ...mint.PublicKey) bool }
API provides API methods
type Metrics ¶
type Metrics struct { RequestDuration *prometheus.HistogramVec NotificationDuration prometheus.Histogram }
Metrics data
type Nats ¶
type Nats struct {
// contains filtered or unexported fields
}
Nats is Nats server transport for service API
func (*Nats) AddMetrics ¶
AddMetrics adds metrics counters and should be called before service launch
Click to show internal directories.
Click to hide internal directories.