Documentation ¶
Index ¶
- func BuildApplication[T any]() *fireworks.Application
- func BuildApplicationMapped[TReceive any, TInsert any](dataMapper DataMapper[TReceive, TInsert]) *fireworks.Application
- func Run()
- func RunMapped[TReceive any, TInsert any](dataMapper DataMapper[TReceive, TInsert])
- func RunTyped[T any]()
- type DataInserter
- type DataMapper
- type FirestoreDataInserter
- type PubSubPushRequestHandler
- type PubSubPushRequestHandlerMapped
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildApplication ¶ added in v0.1.2
func BuildApplication[T any]() *fireworks.Application
func BuildApplicationMapped ¶ added in v0.4.0
func BuildApplicationMapped[TReceive any, TInsert any](dataMapper DataMapper[TReceive, TInsert]) *fireworks.Application
func RunMapped ¶ added in v0.4.0
func RunMapped[TReceive any, TInsert any](dataMapper DataMapper[TReceive, TInsert])
Types ¶
type DataInserter ¶ added in v0.1.2
type DataInserter[T any] interface { Insert(data T) }
type DataMapper ¶ added in v0.4.0
type FirestoreDataInserter ¶ added in v0.1.2
type FirestoreDataInserter[T any] struct { // contains filtered or unexported fields }
func NewFirestoreDataInserter ¶ added in v0.1.2
func NewFirestoreDataInserter[T any](configuration fireworks.Configuration) *FirestoreDataInserter[T]
func (FirestoreDataInserter[T]) Insert ¶ added in v0.1.2
func (this FirestoreDataInserter[T]) Insert(data T)
type PubSubPushRequestHandler ¶ added in v0.1.2
type PubSubPushRequestHandler[T any] struct { // contains filtered or unexported fields }
func (PubSubPushRequestHandler[T]) Handle ¶ added in v0.1.2
func (this PubSubPushRequestHandler[T]) Handle(ginContext *gin.Context)
type PubSubPushRequestHandlerMapped ¶ added in v0.4.0
type PubSubPushRequestHandlerMapped[TReceive any, TInsert any] struct { // contains filtered or unexported fields }
func (PubSubPushRequestHandlerMapped[TReceive, TInsert]) Handle ¶ added in v0.4.0
func (this PubSubPushRequestHandlerMapped[TReceive, TInsert]) Handle(ginContext *gin.Context)
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
tests
|
|
integration-mapped
Module
|
|
integration-typed
Module
|
|
integration-untyped
Module
|
Click to show internal directories.
Click to hide internal directories.