types

package
v0.0.0-...-84faedb Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Code generated by goctl. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddCertFormUploadReq

type AddCertFormUploadReq struct {
	Id                uint64 `json:"id"`
	Certificate       string `json:"certificate" validate:"required"`
	PrivateKey        string `json:"private_key" validate:"required"`
	IssuerCertificate string `json:"issuer_certificate"`
}

type AddDomainReq

type AddDomainReq struct {
	Domain string `json:"domain" validate:"required,hostname_rfc1123"`
	Email  string `json:"email" validate:"required,email"`
	Target string `json:"target" validate:"required"`
}

type AddOrRenewCertificateResp

type AddOrRenewCertificateResp struct {
}

type Cert

type Cert struct {
	Id          uint64 `json:"id"`
	Domain      string `json:"domain"`
	Certificate string `json:"certificate"`
	PrivateKey  string `json:"private_key"`
	Target      string `json:"target"`
}

type CertDto

type CertDto struct {
	Id        uint64 `json:"id"`
	Domain    string `json:"domain"`
	Target    string `json:"target"`
	Email     string `json:"email"`
	Expire    int64  `json:"expire"`
	CreatedAt int64  `json:"created_at"`
}

type CertSyncReq

type CertSyncReq struct {
	Maximum uint64 `form:"maximum"`
}

type CertSyncResp

type CertSyncResp struct {
	Certs []Cert `json:"certs"`
}

type CertificateRequest

type CertificateRequest struct {
	Id uint64 `json:"id"`
}

type GetCertsPagingReq

type GetCertsPagingReq struct {
	Page   int    `form:"page" validate:"required"`
	Size   int    `form:"size" validate:"required"`
	Domain string `form:"domain,optional"`
	Email  string `form:"email,optional"`
}

type GetCertsPagingResp

type GetCertsPagingResp struct {
	Certs []CertDto `json:"certs"`
	Total uint64    `json:"total"`
}

type UserLoginReq

type UserLoginReq struct {
	Name string `json:"name"  validate:"required,email"`
	Pass string `json:"pass"  validate:"required"`
}

type UserLoginResp

type UserLoginResp struct {
	Token string `json:"token"`
}

Jump to

Keyboard shortcuts

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