httpmodels

package
v0.0.0-...-bf201e6 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateReq

type CreateReq struct {
	LifetimeSeconds int64  `json:"lifetime_seconds,omitempty" url:"lifetime_seconds,omitempty"`
	Comment         string `json:"comment,omitempty" url:"comment,omitempty"`
}

type CreateResp

type CreateResp struct {
	TokenValue string                 `json:"token_value,omitempty" url:"token_value,omitempty"`
	TokenInfo  models.PublicTokenInfo `json:"token_info,omitempty" url:"token_info,omitempty"`
}

type DeleteReq

type DeleteReq struct {
	TokenID string `json:"token_id,omitempty" url:"token_id,omitempty"`
}

type ListResp

type ListResp struct {
	TokenInfos *[]models.PublicTokenInfo `json:"token_infos,omitempty" url:"token_infos,omitempty"`
}

Jump to

Keyboard shortcuts

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