api

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2021 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Serve

func Serve() error

func Setup

func Setup(cfg *Config) error

Types

type CertificateRequest

type CertificateRequest struct {
	Att    string `form:"att" binding:"required"`
	IntAtt string `form:"intAtt" binding:"required"`
}

type Config

type Config struct {
	HTTP *HTTP `yaml:"http"`
}

type HTTP

type HTTP struct {
	Address string `yaml:"address"`
}

type RevokeRequest

type RevokeRequest struct {
	Reason pki.CRLReason `form:"reason" binding:"omitempty,oneof=KeyCompromise AffiliationChanged Superseded Unspecified"`
}

Jump to

Keyboard shortcuts

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