Documentation ¶
Index ¶
- Variables
- func CoreInitServer(ctx context.Context, clients *server.Clients, mc *multichain.Provider) *gin.Engine
- func InitSentry()
- func InitServer()
- func NewTokenProcessor(queries *db.Queries, httpClient *http.Client, metadataFinder *MetadataFinder, ...) *tokenProcessor
- type ErrImageResultRequired
- type MetadataFinder
- type PipelineOption
- type ProcessMediaForTokenInput
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRequiredSignedToken = errors.New("token isn't signed")
ErrRequiredSignedToken indicates that the token isn't signed
View Source
var PipelineOpts pOpts
Functions ¶
func CoreInitServer ¶
func InitSentry ¶
func InitSentry()
Types ¶
type ErrImageResultRequired ¶
type ErrImageResultRequired struct{ Err error }
func (ErrImageResultRequired) Error ¶
func (e ErrImageResultRequired) Error() string
func (ErrImageResultRequired) Unwrap ¶
func (e ErrImageResultRequired) Unwrap() error
type MetadataFinder ¶
type MetadataFinder struct {
// contains filtered or unexported fields
}
MetadataFinder is a service for fetching metadata for a token Batching pattern adapted from dataloaden (https://github.com/vektah/dataloaden)
func (*MetadataFinder) GetMetadata ¶
func (m *MetadataFinder) GetMetadata(ctx context.Context, t persist.TokenIdentifiers) (persist.TokenMetadata, error)
type PipelineOption ¶
type PipelineOption func(*tokenProcessingJob)
Click to show internal directories.
Click to hide internal directories.