A mediator API for golang