14 lines
318 B
Go
14 lines
318 B
Go
package client
|
|
|
|
import (
|
|
"context"
|
|
|
|
"source.toby3d.me/website/indieauth/internal/domain"
|
|
)
|
|
|
|
type Repository interface {
|
|
Get(ctx context.Context, id *domain.ClientID) (*domain.Client, error)
|
|
}
|
|
|
|
var ErrNotExist error = domain.NewError(domain.ErrorCodeInvalidClient, "client with the specified ID does not exist", "")
|