client

package
v0.0.0-...-6fdabb0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientController

type ClientController struct {
}

func NewController

func NewController() *ClientController

func (ClientController) CreateClient

func (uc ClientController) CreateClient(w http.ResponseWriter, r *http.Request)

func (ClientController) DeleteClient

func (uc ClientController) DeleteClient(w http.ResponseWriter, r *http.Request)

func (ClientController) GetClient

func (uc ClientController) GetClient(w http.ResponseWriter, r *http.Request)

func (ClientController) GetClients

func (uc ClientController) GetClients(w http.ResponseWriter, r *http.Request)

func (ClientController) RegisterRoutes

func (uc ClientController) RegisterRoutes(r *http.ServeMux)

type CreateClientDTO

type CreateClientDTO struct {
	ClientId             string
	Username             string
	SubscribeAcl         string
	PublishAcl           string
	InputPassword        string
	InputPasswordConfirm string
}

func (*CreateClientDTO) Validate

func (a *CreateClientDTO) Validate() bool

type IndexClientDTO

type IndexClientDTO struct {
	ID        int64
	ClientId  string
	Username  string
	CreatedAt int64
}

type ShowClientDTO

type ShowClientDTO struct {
	ID        int64
	ClientId  string
	Username  string
	CreatedAt int64
}

Jump to

Keyboard shortcuts

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