Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildApplication ¶
func BuildApplication[T any]() *fireworks.Application
Types ¶
type Configuration ¶
type Configuration struct { fireworks.Configuration Operation string }
func GenerateConfiguration ¶
func GenerateConfiguration(fileName string) *Configuration
func NewConfiguration ¶
func NewConfiguration( fireworksConfiguration fireworks.Configuration, operation string) *Configuration
type DataPublisher ¶
type DataPublisher[T any] interface { Publish(data T) }
type GinRequestBodyReader ¶
type GinRequestBodyReader[T any] struct { // contains filtered or unexported fields }
func NewGinRequestBodyReader ¶
func NewGinRequestBodyReader[T any]( reader fireworks.Reader, bodyDeserialiser fireworks.DataDeserialiser[T], ) *GinRequestBodyReader[T]
func (GinRequestBodyReader[T]) Read ¶
func (this GinRequestBodyReader[T]) Read(ginContext *gin.Context) T
type HttpRequestHandler ¶
type HttpRequestHandler[T any] struct { // contains filtered or unexported fields }
func NewHttpRequestHandler ¶
func NewHttpRequestHandler[T any]( dataReader fireworks.DataReader[T], dataPublisher DataPublisher[T]) *HttpRequestHandler[T]
func (HttpRequestHandler[T]) Handle ¶
func (this HttpRequestHandler[T]) Handle(ginContext *gin.Context)
type PubSubDataPublisher ¶
type PubSubDataPublisher[T any] struct { // contains filtered or unexported fields }
func NewPubSubDataPublisher ¶
func NewPubSubDataPublisher[T any](configuration *Configuration) *PubSubDataPublisher[T]
func (PubSubDataPublisher[T]) Publish ¶
func (this PubSubDataPublisher[T]) Publish(data T)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.