Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service interface { CreateUser(ctx context.Context, username string, password string, email string) (*user.User, error) DeleteUserByID(ctx context.Context, id user.UserID) error GetUserByID(ctx context.Context, id user.UserID) (*user.User, error) Login(ctx context.Context, username string, password string) (*user.User, error) Logout(ctx context.Context, id user.UserID) error CreateAgentToken(ctx context.Context, name string) (*user.AgentToken, error) DeleteAgentToken(ctx context.Context, name string) error ValidateToken(ctx context.Context) (*user.User, error) }
Click to show internal directories.
Click to hide internal directories.