Documentation
¶
Index ¶
- Constants
- func CreateMultipartReq(payload map[string]string, targetURL string) (*http.Request, error)
- func CreatePostFormReq(payload map[string]string, targetURL string) (*http.Request, error)
- func DecodeBody(body io.ReadCloser, contentType string) (string, error)
- func DumpToFile(load []byte) error
- func GetAllEbankURLs() ebankKasikornURLs
- func GetAllOnlineKasikornURLs() onlineKasikornURLs
- func GetFieldNames() postFieldNames
- func GetFieldValues() postFieldValues
- func GetRegexpSlashedDate() *regexp.Regexp
- func GetRegexpSlashedDateAndTime() *regexp.Regexp
- func GetSixMonthsFromNowCelinig(now time.Time) time.Time
- func GetThailandTimeZone() *time.Location
- func PlainDateStringToThaiTime(plainDate string) (time.Time, error)
- func PlainDateTimeStringToThaiTime(plainDate string) (time.Time, error)
- type KasikornDate
- type Period
Constants ¶
View Source
const SmeCustomerType = "sme"
Variables ¶
This section is empty.
Functions ¶
func CreateMultipartReq ¶
func CreatePostFormReq ¶
func DecodeBody ¶
func DecodeBody(body io.ReadCloser, contentType string) (string, error)
func DumpToFile ¶
func GetAllEbankURLs ¶
func GetAllEbankURLs() ebankKasikornURLs
func GetAllOnlineKasikornURLs ¶
func GetAllOnlineKasikornURLs() onlineKasikornURLs
func GetFieldNames ¶
func GetFieldNames() postFieldNames
func GetFieldValues ¶
func GetFieldValues() postFieldValues
func GetRegexpSlashedDate ¶
func GetThailandTimeZone ¶
Types ¶
type KasikornDate ¶
KasikornDate represents a calendar day in Thailand, i.e. a date without taking into account the time of the day, and meaning within Bangkok time. 1st of January means Day=1.
func (KasikornDate) ToTimeDate ¶
func (kasikornDate KasikornDate) ToTimeDate() time.Time
Click to show internal directories.
Click to hide internal directories.