utils

package
v0.0.0-...-c8274e7 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2022 License: MIT Imports: 10 Imported by: 1

Documentation

Index

Constants

View Source
const UserAgent = "Mozilla/5.0 NetBankingtClient/0.1"

UserAgent (must starts with Mozilla/...)

Variables

View Source
var Debug = false

Functions

func DebugLog

func DebugLog(v ...interface{})

func GetMatched

func GetMatched(htmlStr, reStr, def string) string

func NewHttpClient

func NewHttpClient() (*http.Client, error)

func ToSJIS

func ToSJIS(s string) string

Types

type TransferStateMap

type TransferStateMap map[string]interface{}

func (TransferStateMap) Amount

func (tr TransferStateMap) Amount() int64

func (TransferStateMap) Fee

func (tr TransferStateMap) Fee() int

func (TransferStateMap) FeeMessage

func (tr TransferStateMap) FeeMessage() string

Jump to

Keyboard shortcuts

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