pat

package
v0.4.7 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateRequest

type CreateRequest struct {
	Description string `json:"description"`
}

func (CreateRequest) ToModel

func (p CreateRequest) ToModel(userID string) (models.PAT, string)

type PatController

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

func NewHttpController

func NewHttpController(repository repository) *PatController

func (*PatController) Create

func (p *PatController) Create(c core.Context) error

func (*PatController) Delete

func (p *PatController) Delete(c core.Context) error

func (*PatController) List

func (p *PatController) List(c core.Context) error

Jump to

Keyboard shortcuts

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