Documentation
¶
Index ¶
- Variables
- type API
- func (api *API) GetPublicKey(ctx context.Context, params apimodels.GetPublicKeyParams) (apimodels.GetPublicKeyRes, error)
- func (api *API) Healthcheck(ctx context.Context) (apimodels.HealthcheckRes, error)
- func (api *API) ListPublicKeys(ctx context.Context, params apimodels.ListPublicKeysParams) (apimodels.ListPublicKeysRes, error)
- func (api *API) NewError(ctx context.Context, err error) *apimodels.UnexpectedErrorStatusCode
- func (api *API) Ping(_ context.Context) (apimodels.PingRes, error)
- func (api *API) SignClaims(ctx context.Context, req apimodels.SignClaimsReq, ...) (apimodels.SignClaimsRes, error)
- type SearchKeysService
- type SelectKeyService
- type SignClaimsService
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInternalServerError = &apimodels.UnexpectedErrorStatusCode{ StatusCode: http.StatusInternalServerError, Response: apimodels.UnexpectedError{Error: "internal server error"}, }
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct {
apimodels.UnimplementedHandler
SelectKeyService SelectKeyService
SearchKeysService SearchKeysService
SignClaimsService SignClaimsService
}
func (*API) GetPublicKey ¶
func (*API) Healthcheck ¶
func (*API) ListPublicKeys ¶
type SearchKeysService ¶
type SelectKeyService ¶
type SignClaimsService ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.