http

package
v0.0.0-...-8450a52 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.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 CreateController

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

CreateController control flow of oauth application creation

func NewCreate

func NewCreate(applicationManager ApplicationManager, apiError module.ApiError) *CreateController

NewCreate return struct of CreateController

func (*CreateController) Control

func (cr *CreateController) Control(ktx kontext.Context, c *gin.Context)

Control creation of oauth application

func (*CreateController) Method

func (cr *CreateController) Method() string

Method POST

func (*CreateController) Path

func (cr *CreateController) Path() string

Path /oauth/applications

type ListController

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

ListController show list of oauth applications

func NewList

func NewList(applicationManager ApplicationManager, apiError module.ApiError) *ListController

NewList return struct of ListController

func (*ListController) Control

func (l *ListController) Control(ktx kontext.Context, c *gin.Context)

Control list of oauth applications

func (*ListController) Method

func (l *ListController) Method() string

Method GET

func (*ListController) Path

func (l *ListController) Path() string

Path /oauth/applications

type OneController

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

OneController control flow of showing oauth applications detail

func NewOne

func NewOne(applicationManager ApplicationManager, apiError module.ApiError) *OneController

NewOne return struct of OneController

func (*OneController) Control

func (o *OneController) Control(ktx kontext.Context, c *gin.Context)

Control find oauth application

func (*OneController) Method

func (o *OneController) Method() string

Method GET

func (*OneController) Path

func (o *OneController) Path() string

Path /oauth/applications/:id

type UpdateController

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

UpdateController control flow of update oauth application

func NewUpdate

func NewUpdate(applicationManager ApplicationManager, apiError module.ApiError) *UpdateController

NewUpdate create struct of UpdateController

func (*UpdateController) Control

func (uc *UpdateController) Control(ktx kontext.Context, c *gin.Context)

Control update oauth applications

func (*UpdateController) Method

func (uc *UpdateController) Method() string

Method PUT

func (*UpdateController) Path

func (uc *UpdateController) Path() string

Path /oauth/applications/:id

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

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