Roles of international law in global governance

What are the roles of international law in global governance and why are they effective?