utils

package
v1.4.3 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddCertificateInfo

func AddCertificateInfo(path, content string) map[string]interface{}

AddCertificateInfo gets and adds certificate information of a certificate file

func AddSwaggerInfo

func AddSwaggerInfo(path, swaggerPath string) map[string]interface{}

AddSwaggerInfo gets and adds the content of a swagger file

func CheckCertificate

func CheckCertificate(content string) string

CheckCertificate verifies if the attribute 'certificate_body' refers a file

Types

This section is empty.

Jump to

Keyboard shortcuts

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