Versions in this module Expand all Collapse all v1 v1.0.1 Oct 22, 2020 v1.0.0 Oct 22, 2020 Changes in this version + type Body interface + Bytes func() []byte + Len func() int + Raw func() interface{} + SerializeTo func(w io.Writer) error + String func() string + func New(n Name, data []byte) Body + type DeliverySetting uint8 + const FailureDeliveryReceipt + const FinalDeliveryReceipt + const NoDeliveryReceipt + type DestSme struct + DestAddr Variable + Flag Fixed + Npi Fixed + Ton Fixed + func (ds *DestSme) Bytes() []byte + func (ds *DestSme) Len() int + func (ds *DestSme) Raw() interface{} + func (ds *DestSme) SerializeTo(w io.Writer) error + func (ds *DestSme) String() string + type DestSmeList struct + Data []DestSme + func (dsl *DestSmeList) Bytes() []byte + func (dsl *DestSmeList) Len() int + func (dsl *DestSmeList) Raw() interface{} + func (dsl *DestSmeList) SerializeTo(w io.Writer) error + func (dsl *DestSmeList) String() string + type Fixed struct + Data uint8 + func (f *Fixed) Bytes() []byte + func (f *Fixed) Len() int + func (f *Fixed) Raw() interface{} + func (f *Fixed) SerializeTo(w io.Writer) error + func (f *Fixed) String() string + type List []Name + func (l List) Decode(r *bytes.Buffer) (Map, error) + type Map map[Name]Body + func (m Map) Set(k Name, v interface{}) error + type Name string + const AddrNPI + const AddrTON + const AddressRange + const DataCoding + const DestAddrNPI + const DestAddrTON + const DestinationAddr + const DestinationList + const ESMClass + const ErrorCode + const FinalDate + const GSMUserData + const InterfaceVersion + const MessageID + const MessageState + const NoUnsuccess + const NumberDests + const Password + const PriorityFlag + const ProtocolID + const RegisteredDelivery + const ReplaceIfPresentFlag + const SMDefaultMsgID + const SMLength + const ScheduleDeliveryTime + const ServiceType + const ShortMessage + const SourceAddr + const SourceAddrNPI + const SourceAddrTON + const SystemID + const SystemType + const UDHLength + const UnsuccessSme + const ValidityPeriod + type SM struct + Data []byte + func (sm *SM) Bytes() []byte + func (sm *SM) Len() int + func (sm *SM) Raw() interface{} + func (sm *SM) SerializeTo(w io.Writer) error + func (sm *SM) String() string + type UDH struct + IEData Variable + IEI Fixed + IELength Fixed + func (udh *UDH) Bytes() []byte + func (udh *UDH) Len() int + func (udh *UDH) Raw() interface{} + func (udh *UDH) SerializeTo(w io.Writer) error + func (udh *UDH) String() string + type UDHList struct + Data []UDH + func (udhl *UDHList) Bytes() []byte + func (udhl *UDHList) Len() int + func (udhl *UDHList) Raw() interface{} + func (udhl *UDHList) SerializeTo(w io.Writer) error + func (udhl *UDHList) String() string + type UnSme struct + DestAddr Variable + ErrCode Variable + Npi Fixed + Ton Fixed + func (us *UnSme) Bytes() []byte + func (us *UnSme) Len() int + func (us *UnSme) Raw() interface{} + func (us *UnSme) SerializeTo(w io.Writer) error + func (us *UnSme) String() string + type UnSmeList struct + Data []UnSme + func (usl *UnSmeList) Bytes() []byte + func (usl *UnSmeList) Len() int + func (usl *UnSmeList) Raw() interface{} + func (usl *UnSmeList) SerializeTo(w io.Writer) error + func (usl *UnSmeList) String() string + type Variable struct + Data []byte + func (v *Variable) Bytes() []byte + func (v *Variable) Len() int + func (v *Variable) Raw() interface{} + func (v *Variable) SerializeTo(w io.Writer) error + func (v *Variable) String() string