mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-12 11:15:12 +00:00
Commit from GitHub Actions (Publish APIs & Clients)
This commit is contained in:
@@ -2,8 +2,9 @@ package example
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/micro/services/clients/go/user"
|
||||
"os"
|
||||
|
||||
"github.com/micro/services/clients/go/user"
|
||||
)
|
||||
|
||||
// Create a new user account. The email address and username for the account must be unique.
|
||||
|
||||
@@ -2,8 +2,9 @@ package example
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/micro/services/clients/go/user"
|
||||
"os"
|
||||
|
||||
"github.com/micro/services/clients/go/user"
|
||||
)
|
||||
|
||||
// Delete an account by id
|
||||
|
||||
@@ -2,8 +2,9 @@ package example
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/micro/services/clients/go/user"
|
||||
"os"
|
||||
|
||||
"github.com/micro/services/clients/go/user"
|
||||
)
|
||||
|
||||
// Login using username or email. The response will return a new session for successful login,
|
||||
|
||||
@@ -2,8 +2,9 @@ package example
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/micro/services/clients/go/user"
|
||||
"os"
|
||||
|
||||
"github.com/micro/services/clients/go/user"
|
||||
)
|
||||
|
||||
// Logout a user account
|
||||
|
||||
@@ -2,8 +2,9 @@ package example
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/micro/services/clients/go/user"
|
||||
"os"
|
||||
|
||||
"github.com/micro/services/clients/go/user"
|
||||
)
|
||||
|
||||
// Read an account by id, username or email. Only one need to be specified.
|
||||
|
||||
@@ -2,8 +2,9 @@ package example
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/micro/services/clients/go/user"
|
||||
"os"
|
||||
|
||||
"github.com/micro/services/clients/go/user"
|
||||
)
|
||||
|
||||
// Read an account by id, username or email. Only one need to be specified.
|
||||
|
||||
@@ -2,8 +2,9 @@ package example
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/micro/services/clients/go/user"
|
||||
"os"
|
||||
|
||||
"github.com/micro/services/clients/go/user"
|
||||
)
|
||||
|
||||
// Read an account by id, username or email. Only one need to be specified.
|
||||
|
||||
@@ -2,8 +2,9 @@ package example
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/micro/services/clients/go/user"
|
||||
"os"
|
||||
|
||||
"github.com/micro/services/clients/go/user"
|
||||
)
|
||||
|
||||
// Read a session by the session id. In the event it has expired or is not found and error is returned.
|
||||
|
||||
@@ -2,8 +2,9 @@ package example
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/micro/services/clients/go/user"
|
||||
"os"
|
||||
|
||||
"github.com/micro/services/clients/go/user"
|
||||
)
|
||||
|
||||
// Send a verification email
|
||||
|
||||
@@ -2,8 +2,9 @@ package example
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/micro/services/clients/go/user"
|
||||
"os"
|
||||
|
||||
"github.com/micro/services/clients/go/user"
|
||||
)
|
||||
|
||||
// Update the account username or email
|
||||
|
||||
@@ -2,8 +2,9 @@ package example
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/micro/services/clients/go/user"
|
||||
"os"
|
||||
|
||||
"github.com/micro/services/clients/go/user"
|
||||
)
|
||||
|
||||
// Update the account password
|
||||
|
||||
@@ -2,8 +2,9 @@ package example
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/micro/services/clients/go/user"
|
||||
"os"
|
||||
|
||||
"github.com/micro/services/clients/go/user"
|
||||
)
|
||||
|
||||
// Verify the email address of an account from a token sent in an email to the user.
|
||||
|
||||
Reference in New Issue
Block a user