a lightweight dispatcher for go