searchusers

package
v0.0.0-...-fb7f86c Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OSSService

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

func ProvideUsersService

func ProvideUsersService(searchUserFilter user.SearchUserFilter, userService user.Service,
) *OSSService

func (*OSSService) SearchUser

func (*OSSService) SearchUsers

func (s *OSSService) SearchUsers(c *contextmodel.ReqContext) response.Response

swagger:route GET /users users searchUsers

Get users.

Returns all users that the authenticated user has permission to view, admin permission required.

Responses: 200: searchUsersResponse 401: unauthorisedError 403: forbiddenError 500: internalServerError

func (*OSSService) SearchUsersWithPaging

func (s *OSSService) SearchUsersWithPaging(c *contextmodel.ReqContext) response.Response

swagger:route GET /users/search users searchUsersWithPaging

Get users with paging.

Responses: 200: searchUsersWithPagingResponse 401: unauthorisedError 403: forbiddenError 404: notFoundError 500: internalServerError

type SearchUsersResponse

type SearchUsersResponse struct {
	// The response message
	// in: body
	Body []*user.UserSearchHitDTO `json:"body"`
}

swagger:response searchUsersResponse

type SearchUsersWithPagingResponse

type SearchUsersWithPagingResponse struct {
	// The response message
	// in: body
	Body *user.SearchUserQueryResult `json:"body"`
}

swagger:response searchUsersWithPagingResponse

type Service

type Service interface {
	SearchUsers(c *contextmodel.ReqContext) response.Response
	SearchUsersWithPaging(c *contextmodel.ReqContext) response.Response
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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