func init() {
	Registry.register(EventAccountCreated, EventInfo{
		ReqChan: "authnsvc.EventAccountCreated",
		isValidPayload: func(i interface{}) bool {
			_, ok := i.(EventAccountCreatedPayload)
			return ok
		},
	})
}
// register the event to the registry
register the event to the registry
// register the event to the registry
func init() {
	Registry.register(EventAccountCreated, EventInfo{
		ReqChan: "authnsvc.EventAccountCreated",
		isValidPayload: func(i interface{}) bool {
			_, ok := i.(EventAccountCreatedPayload)
			return ok
		},
	})
}
func init ( ) { Registry . register ( EventAccountCreated , EventInfo { ReqChan : " " , isValidPayload : func ( i interface { } ) bool { _ , ok := i . ( EventAccountCreatedPayload ) return ok } , } ) }
register the event to the registry
register the event to the registry