config

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertificateIdentity

type CertificateIdentity struct {
	Country            string `json:"country"`
	Organization       string `json:"organization"`
	OrganizationalUnit string `json:"organizational_unit"`
	Locality           string `json:"locality"`
	Province           string `json:"province"`
}

type Config

type Config struct {
	Rootdir string `json:"rootdir"`

	Identity CertificateIdentity `json:"identity"`
}

func (*Config) Check

func (c *Config) Check() error

func (*Config) FilePath

func (c *Config) FilePath(pattern string, args ...interface{}) string

func (*Config) GetName

func (c *Config) GetName(commonName string) pkix.Name

Jump to

Keyboard shortcuts

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