handler

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2023 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPrivateHandler

func NewPrivateHandler(s service.Service) mgmtPB.MgmtPrivateServiceServer

NewPrivateHandler initiates an private handler instance

func NewPublicHandler

NewPublicHandler initiates a public handler instance

Types

type PrivateHandler

type PrivateHandler struct {
	mgmtPB.UnimplementedMgmtPrivateServiceServer
	// contains filtered or unexported fields
}

func (*PrivateHandler) CreateUserAdmin

CreateUserAdmin creates a user. This endpoint is not supported.

func (*PrivateHandler) DeleteUserAdmin

DeleteUserAdmin deletes a user. This endpoint is not supported.

func (*PrivateHandler) GetUserAdmin

GetUserAdmin gets a user

func (*PrivateHandler) ListUsersAdmin

ListUsersAdmin lists all users

func (*PrivateHandler) LookUpUserAdmin

LookUpUserAdmin gets a user by permalink

func (*PrivateHandler) UpdateUserAdmin

UpdateUserAdmin updates an existing user

type PublicHandler

type PublicHandler struct {
	mgmtPB.UnimplementedMgmtPublicServiceServer
	// contains filtered or unexported fields
}

func (*PublicHandler) ExistUsername

ExistUsername verifies if a username (ID) has been occupied

func (*PublicHandler) Liveness

Liveness checks the liveness of the server

func (*PublicHandler) PatchAuthenticatedUser

PatchAuthenticatedUser updates the authenticated user. Note: this endpoint is hard-coded, assuming the ID of the authenticated user is the default user.

func (*PublicHandler) QueryAuthenticatedUser

QueryAuthenticatedUser gets the authenticated user. Note: this endpoint is hard-coded, assuming the ID of the authenticated user is the default user.

func (*PublicHandler) Readiness

Readiness checks the readiness of the server

Jump to

Keyboard shortcuts

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