fiorix / go-diameter

Diameter stack and Base Protocol (RFC 6733) for the Go programming language
Other
244 stars 141 forks source link

Custom handler configuration #150

Open nickel0 opened 3 years ago

nickel0 commented 3 years ago

Hi. The go-diameter defines CER/CEA and DWR/DWA handlers and initialize state machine using the handlers. But for more flexibility the go-diameter should allow developers to use their own custom CER/CEA and DWR/DWA handlers. In my cases, I implemented common logging codes into my handlers (e.g. AIR/AIA and ULR/ULA). I want to use custom CER/CEA and DWR/DWA handlers that includes my common logging codes. Is there any possible way to do this?

bearmini commented 3 years ago

@fiorix Any info / thoughts on this?