Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -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).
Add Comment
Please, Sign In to add comment