Created
April 14, 2014 17:29
-
-
Save laser/10667632 to your computer and use it in GitHub Desktop.
03: UserService IDL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// services/user_service/interface.idl | |
struct UserProperties { | |
email string | |
full_name string | |
phone_number string [optional] | |
} | |
struct User extends UserProperties { | |
id int | |
} | |
interface UserService { | |
create_user(properties UserProperties) User | |
get_all_users() []User | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment