jsondef

package
v0.0.0-...-4dbeb52 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package jsondef contains http requests definitions

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Contains

func Contains(list []string, val string) bool

Contains Search an element in given array

Types

type SmartCardData

type SmartCardData struct {
	Type int    `json:"type"` //
	Cls  int    `json:"cls"`  //
	Ins  int    `json:"ins"`  //
	P1   int    `json:"p1"`   //
	P2   int    `json:"p2"`   //
	Data string `json:"data"` //
	Le   int    `json:"le"`   //
}

SmartCardData Request data structure

func (SmartCardData) AsBinary

func (d SmartCardData) AsBinary() []byte

AsBinary Decode data from base64

func (SmartCardData) AsText

func (d SmartCardData) AsText() string

AsText Decode data from base64

func (SmartCardData) PrintLog

func (d SmartCardData) PrintLog()

PrintLog Log printing request

Jump to

Keyboard shortcuts

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