Discover Packages
github.com/daominah/smpp
time
package
Version:
v0.1.6
Opens a new window with list of versions in this module.
Published: Apr 3, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types Format(layout, t) Parse(in) type Layout
Documentation
¶
Format converts time.Time into string representation defined by smpp
predefined layout.
Parse converts bytestring representation of time from SMPP format
to standard time.Time. Relative layouts will be added to the current
time and returned as time.Time.
Layout defines SMPP time layout in string representation.
It can be Relative, Absolute, Simple.
const (
SimpleSeconds Layout = iota
SimpleMinutes
Absolute
Relative
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.