users

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 26, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Router

func Router(root server.Router)

Types

type ReqSaasCreate

type ReqSaasCreate struct {
	UserCode string `json:"userCode"`
	OrgCode  string `json:"orgCode"`
	Name     string `json:"name"`
}

type ReqSaasJoin

type ReqSaasJoin struct {
	UserCode string `json:"userCode"`
	OrgCode  string `json:"orgCode"`
	UserName string `json:"userName"`
}

type ReqSaasLeave

type ReqSaasLeave struct {
	UserCode string `json:"userCode"`
	OrgCode  string `json:"orgCode"`
}

type RespMe

type RespMe struct {
	UserId   int      `json:"userId,omitempty"`
	Username string   `json:"username,omitempty"`
	Nickname string   `json:"nickname,omitempty"`
	Avatar   string   `json:"avatar,omitempty"`
	Roles    []string `json:"roles,omitempty"`
	Perms    []string `json:"perms,omitempty"`
}

type UserDetailResponse

type UserDetailResponse struct {
	SecurityInfo *dto.SecurityInfo `json:"securityInfo,omitempty"`
	Identities   []dto.Identity    `json:"identities"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL