rest

package
v2.0.6+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2020 License: AGPL-3.0 Imports: 18 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package rest provides access to the TokenServiceApi

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResetToken

type ResetToken struct {
	UserLogin  string `json:"user_login"`
	Expiration int32  `json:"expiration"`
}

type TokenHandler

type TokenHandler struct{}

func (*TokenHandler) Filter

func (a *TokenHandler) Filter() func(string) string

Filter returns a function to filter the swagger path

func (*TokenHandler) ResetPassword

func (a *TokenHandler) ResetPassword(req *restful.Request, resp *restful.Response)

func (*TokenHandler) ResetPasswordToken

func (a *TokenHandler) ResetPasswordToken(req *restful.Request, resp *restful.Response)

func (*TokenHandler) Revoke

func (a *TokenHandler) Revoke(req *restful.Request, resp *restful.Response)

func (*TokenHandler) SwaggerTags

func (a *TokenHandler) SwaggerTags() []string

SwaggerTags list the names of the service tags declared in the swagger json implemented by this service

Jump to

Keyboard shortcuts

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