users

package
v0.3.10 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package users contains the route handlers related to users.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handlers

type Handlers struct {
	// contains filtered or unexported fields
}

func (*Handlers) HandleUserGet

func (h *Handlers) HandleUserGet() auth.HTTPHandlerFunc

func (*Handlers) HandleUsersGet

func (h *Handlers) HandleUsersGet() auth.HTTPHandlerFunc

func (*Handlers) Register

func (h *Handlers) Register(
	er godest.EchoRouter, tsr turbostreams.Router, ss *session.Store,
)

type UserViewAuthz added in v0.1.15

type UserViewAuthz struct {
	GetInfo          bool
	GetInfoEmail     bool
	SendPublicChat   bool
	GetPrivateChat   bool
	SendPrivateChat  bool
	CreateInstrument bool
}

type UserViewData added in v0.1.7

type UserViewData struct {
	Identity ory.Identity

	PublicKnownViewers      []presence.User
	PublicAnonymousViewers  []presence.SessionID
	PublicChatMessages      []handling.ChatMessageViewData
	PrivateKnownViewers     []presence.User
	PrivateAnonymousViewers []presence.SessionID
	PrivateChatMessages     []handling.ChatMessageViewData

	Instruments []instruments.Instrument
}

Jump to

Keyboard shortcuts

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