userInfo

package
v0.0.0-...-1a11905 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UserInfo

type UserInfo struct {
	Email       string `json:"email"`
	Domain      string `json:"domain"`
	CA          string `json:"ca-url"`
	Fingerprint string `json:"fingerprint"`
	Root        string `json:"root"`
	Redirect    string `json:"redireredirect-urlct"`
}

UserInfo will hold the local json config file json

func (*UserInfo) RetriveUserInfo

func (data *UserInfo) RetriveUserInfo(ctx *cli.Context) error

RetriveUserInfo will read a ca response json file and provide their information

func (*UserInfo) WriteuserInfo

func (data *UserInfo) WriteuserInfo() error

WriteuserInfo will write the CA response as a file

Jump to

Keyboard shortcuts

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