package
0.0.0-20240730081840-b2c82e1192fb
Repository: https://github.com/joinself/restful-client.git
Documentation: pkg.go.dev

# Functions

NewRepository creates a new apikey repository.
NewService creates a new apikey service.
RegisterHandlers sets up the routing of the HTTP handlers.

# Constants

TODO: Make expiration configurable.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

ApiKey represents the data about an apikey.
CreateApiKeyRequest represents an apikey creation request.
ExtApiKey external representation of a apikey.
ExtListResponse represents the json object returned when listing apikeys.
UpdateApiKeyRequest represents an apikey update request.

# Interfaces

FactService service to manage sending and receiving fact requests.
Repository encapsulates the logic to access apikeys from the data source.
Service encapsulates usecase logic for apikeys.