Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FormAuth ¶
type FormAuth struct {
// contains filtered or unexported fields
}
func NewFormAuth ¶
type ReprocessFunc ¶
type ReprocessFunc func(ctx context.Context, record *storage.MessageRecord) error
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(scfg *ServerConfig) *Server
func (*Server) BuildHandler ¶
type ServerConfig ¶
type ServerConfig struct {
Config *config.Config
ChannelsDir string
Store storage.MessageStore
Metrics *observability.Metrics
Logger *slog.Logger
RBAC *auth.RBACManager
AuditLogger *auth.AuditLogger
AuthMiddleware func(http.Handler) http.Handler
ReprocessFunc ReprocessFunc
DeployFunc ChannelActionFunc
UndeployFunc ChannelActionFunc
RestartFunc ChannelActionFunc
Port int
}
Click to show internal directories.
Click to hide internal directories.