Documentation
¶
Index ¶
- func MaxBytesReaderMiddleware(next http.Handler) http.Handler
- func NewAPIRouter(path string, svc *services.Service, origins []string, logger *zap.Logger) *mux.Router
- type CreateCredentialRequest
- type CreateCredentialResponse
- type LifetimeStatsByType
- type LifetimeStatsResponse
- type OperatorInfoRequest
- type OperatorInfoResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateCredentialRequest ¶
type CreateCredentialRequest struct {
Address common.Address `json:"address"`
Msg []byte `json:"msg"`
Sig []byte `json:"sig"`
Version string `json:"version"`
// contains filtered or unexported fields
}
func (*CreateCredentialRequest) UnmarshalJSON ¶
func (c *CreateCredentialRequest) UnmarshalJSON(data []byte) error
type LifetimeStatsByType ¶
type LifetimeStatsResponse ¶
type LifetimeStatsResponse struct {
AccessGranted LifetimeStatsByType `json:"accessGranted"`
Users LifetimeStatsByType `json:"users"`
}
type OperatorInfoRequest ¶
type OperatorInfoRequest CreateCredentialRequest
type OperatorInfoResponse ¶
type OperatorInfoResponse struct {
CredentialEvents []int64 `json:"credentialEvents"`
QuotaSettings *json.RawMessage `json:"quotaSettings"`
}
Click to show internal directories.
Click to hide internal directories.