Couchbase official guide for drivers developers

Are there official guide for drivers developers? I’m looking into writing native Erlang client for couchbase. Where I can find info about protocols, cluster management and stuff?