user

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InviteRequest

type InviteRequest struct {
	Emails []string `json:"emails,omitempty"`
}

type InviteResponse

type InviteResponse struct {
	Errors      InviteResponseErrors      `json:"errors,omitempty"`
	Invitations InviteResponseInvitations `json:"invitations,omitempty"`
}

type InviteResponseErrors

type InviteResponseErrors map[string]base.ApiError

type InviteResponseInvitations

type InviteResponseInvitations map[string]string

type User

type User struct {
	Id           string     `json:"id,omitempty"`
	Name         string     `json:"name,omitempty"`
	Kind         UserKind   `json:"kind,omitempty"`
	Version      float32    `json:"version"`
	Tags         UserTags   `json:"tags,omitempty"`
	Created      string     `json:"created,omitempty"`
	LastModified string     `json:"lastModified,omitempty"`
	Links        base.Links `json:"links,omitempty"`
	Idp          string     `json:"idp,omitempty"`
	Email        string     `json:"email,omitempty"`
}

type UserKind

type UserKind string
const (
	UserKindUser UserKind = "user"
)

type UserTags added in v1.0.0

type UserTags map[string]any

Jump to

Keyboard shortcuts

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