api

package
v0.0.0-...-ac35e32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 25, 2023 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitKafkaConsumerRouter

func InitKafkaConsumerRouter(svc *handlers.KafkaConsumerService) func(m *kafka.Message) error

func InitNatsResponderRouter

func InitNatsResponderRouter(svc *handlers.NatsReqReplyService) func(m *nats.Msg) (string, error)

func InitRouter

func InitRouter(svc *handlers.HTTPHandlerService, r *gin.Engine) *gin.Engine

func InitScheduledJobsRouter

func InitScheduledJobsRouter(svc *handlers.InAppScheduledJobService)

func NewGinHTTPServer

func NewGinHTTPServer(lc fx.Lifecycle, svc *handlers.HTTPHandlerService) *http.Server

Types

type InAppScheduledJobsState

type InAppScheduledJobsState struct {
	IsStarted bool
	// contains filtered or unexported fields
}

type KafkaConsumerListenerState

type KafkaConsumerListenerState struct {
	IsStarted bool
	// contains filtered or unexported fields
}

type NatsResponderState

type NatsResponderState struct {
	IsStarted bool
	// contains filtered or unexported fields
}

type RespondJson

type RespondJson struct {
	Status  bool        `json:"status"`
	Intent  string      `json:"intent"`
	Message interface{} `json:"message"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL