Skip to content

Commit

Permalink
adapt cache and handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
kickster97 committed Nov 27, 2024
1 parent d13cb95 commit ec03eba
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/lavinmq/amqp/connection_factory.cr
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ require "../version"
require "../logger"
require "./client"
require "../client/connection_factory"
require "../auth/basic_auth"
require "../auth/oauth2"
require "../auth/handlers/basic_auth"
require "../auth/handlers/oauth2"

module LavinMQ
module AMQP
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require "./auth_handler"
require "../server"
require "../auth_handler"
require "../../server"

module LavinMQ
class BasicAuthHandler < LavinMQ::AuthHandler
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
require "../auth_handler"

module LavinMQ
class OAuth2Handler < LavinMQ::AuthHandler
def authenticate(username : String, password : String)
Expand Down
1 change: 0 additions & 1 deletion src/lavinmq/server.cr
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ require "./exchange"
require "./amqp/queue"
require "./parameter"
require "./config"
require "./cache"
require "./connection_info"
require "./proxy_protocol"
require "./client/client"
Expand Down

0 comments on commit ec03eba

Please sign in to comment.