user

package
v0.0.0-...-7ad5d0e Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const ResourceType = "user"

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	userv1alpha1connect.UnimplementedUserServiceHandler
	// contains filtered or unexported fields
}

Service implements the UserService

func New

func New(log *logger.Logger) (*Service, error)

New creates a new user service

func (*Service) GetUser

GetUser retrieves a user by ID

func (*Service) ListUsers

ListUsers lists users in an organization with pagination

func (*Service) NewServiceHandler

func (s *Service) NewServiceHandler(opts ...connect.HandlerOption) (string, http.Handler)

NewServiceHandler returns a connect service path and handler

func (*Service) UpdateUser

UpdateUser updates an existing user

Jump to

Keyboard shortcuts

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