Skip to content

ZeroTechh/UserExtraService

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UserExtraService

A velocity which will be handling user extra data.

Functions

Add

Takes in user extra data and adds it into database.

response, err := client.Add(ctx, &userData)

Get

Takes in user id and returns the extra data.

response, err := client.Get(ctx, &proto.GetRequest{UserID: "UserID"})

Update

Takes in user id and update. then causes that update.

response, err := client.Update(ctx, &proto.UpdateRequest{
    UserID: "UserID",
    Update: Update,
})

Validate

Takes in user data and returns if it is valid.

response, _ := client.Validate(ctx, UserData)

About

A velocity which will be handling user extra data

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages