Skip to content

Instantly share code, notes, and snippets.

@mokele
Created August 3, 2011 10:15
Show Gist options
  • Save mokele/1122328 to your computer and use it in GitHub Desktop.
Save mokele/1122328 to your computer and use it in GitHub Desktop.
-spec login(binary(), binary()) -> iolist().
login(Username, Password) ->
Msg = #seto_message{
seq = 1,
payload =
{login, #seto_login{
username = Username,
password = Password
}}
},
seto_piqi:gen_message(Msg).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment