Versions in this module Expand all Collapse all v1 v1.0.1 Oct 10, 2022 Changes in this version + const AARE + const AARQ + const ABRT + const Abort + const AbortDialogueServiceProvider + const AbortDialogueServiceUser + const Accepted + const AnyTimeInfoEnquiryContext + const AnyTimeInfoHandlingContext + const ApplicationContextNameNotSupplied + const ApplicationWide + const AuthenticationFailureReportContext + const BadlyFormattedTransactionPortion + const BadlyStructuredComponent + const Begin + const CallCompletionContext + const CallControlTransferContext + const Constructor + const ContextSpecific + const Continue + const DialogueAsID + const DialogueServiceProvider + const DialogueServiceUser + const End + const EquipmentMngtContext + const ErrorProblemMistypedParameter + const ErrorProblemReturnErrorUnexpected + const ErrorProblemUnexpectedError + const ErrorProblemUnrecognizedError + const ErrorProblemUnrecognizedInvokeID + const FailureReportContext + const GeneralProblem + const GprsLocationInfoRetrievalContext + const GprsLocationUpdateContext + const GprsNotifyContext + const GroupCallControlContext + const HandoverControlContext + const ImsiRetrievalContext + const IncorrectTransactionPortion + const InfoRetrievalContext + const InterVlrInfoRetrievalContext + const Invoke + const InvokeProblem + const InvokeProblemDuplicateInvokeID + const InvokeProblemInitiatingRelease + const InvokeProblemLinkedResponseUnexpected + const InvokeProblemMistypedParameter + const InvokeProblemResourceLimitation + const InvokeProblemUnexpectedLinkedOperation + const InvokeProblemUnrecognizedLinkedID + const InvokeProblemUnrecognizedOperation + const IstAlertingContext + const LocationCancellationContext + const LocationInfoRetrievalContext + const LocationSvcEnquiryContext + const LocationSvcGatewayContext + const MistypedComponent + const MmEventReportingContext + const MsPurgingContext + const MwdMngtContext + const NetworkFunctionalSsContext + const NetworkLocUpContext + const NetworkUnstructuredSsContext + const NoCommonDialoguePortion + const NoReasonGiven + const Null + const Primitive + const Private + const Reject + const RejectPerm + const ReportingContext + const ResetContext + const ResourceLimitation + const ResultProblemMistypedParameter + const ResultProblemReturnResultUnexpected + const ResultProblemUnrecognizedInvokeID + const ReturnError + const ReturnErrorProblem + const ReturnResultLast + const ReturnResultNotLast + const ReturnResultProblem + const RoamingNumberEnquiryContext + const SIWFSAllocationContext + const SendRoutingInfoForSM + const ServiceTerminationContext + const ShortMsgAlertContext + const ShortMsgGatewayContext + const ShortMsgMTRelayContext + const ShortMsgRelayContext + const SsInvocationNotificationContext + const SubscriberDataMngtContext + const SubscriberDataModificationNotificationContext + const SubscriberInfoEnquiryContext + const TracingContext + const UnidialogueAsID + const Unidirectional + const Universal + const UnrecognizedComponent + const UnrecognizedMessageType + const UnrecognizedTransactionID + func DisableLogging() + func EnableLogging(l *log.Logger) + func SetLogger(l *log.Logger) + type Component struct + ErrorCode *IE + InvokeID *IE + Length uint8 + LinkedID *IE + OperationCode *IE + Parameter *IE + ProblemCode *IE + ResultRetres *IE + SequenceTag *IE + Type Tag + func NewInvoke(invID, lkID, opCode int, isLocal bool, param []byte) *Component + func NewReject(invID, problemType int, problemCode uint8, param []byte) *Component + func NewReturnError(invID, errCode int, isLocal bool, param []byte) *Component + func NewReturnResult(invID, opCode int, isLocal, isLast bool, param []byte) *Component + func ParseComponent(b []byte) (*Component, error) + func (c *Component) ComponentTypeString() string + func (c *Component) InvID() uint8 + func (c *Component) MarshalBinary() ([]byte, error) + func (c *Component) MarshalLen() int + func (c *Component) MarshalTo(b []byte) error + func (c *Component) OpCode() uint8 + func (c *Component) SetLength() + func (c *Component) String() string + func (c *Component) UnmarshalBinary(b []byte) error + type Components struct + Component []*Component + Length uint8 + Tag Tag + func NewComponents(comps ...*Component) *Components + func ParseComponents(b []byte) (*Components, error) + func (c *Components) MarshalBinary() ([]byte, error) + func (c *Components) MarshalLen() int + func (c *Components) MarshalTo(b []byte) error + func (c *Components) SetLength() + func (c *Components) SetValsFrom(berParsed *IE) error + func (c *Components) String() string + func (c *Components) UnmarshalBinary(b []byte) error + type Dialogue struct + DialoguePDU *DialoguePDU + ExternalLength uint8 + ExternalTag Tag + Length uint8 + ObjectIdentifier *IE + Payload []byte + SingleAsn1Type *IE + Tag Tag + func NewDialogue(oid, ver uint8, pdu *DialoguePDU, payload []byte) *Dialogue + func ParseDialogue(b []byte) (*Dialogue, error) + func (d *Dialogue) Context() string + func (d *Dialogue) ContextVersion() string + func (d *Dialogue) MarshalBinary() ([]byte, error) + func (d *Dialogue) MarshalLen() int + func (d *Dialogue) MarshalTo(b []byte) error + func (d *Dialogue) SetLength() + func (d *Dialogue) SetValsFrom(berParsed *IE) error + func (d *Dialogue) String() string + func (d *Dialogue) UnmarshalBinary(b []byte) error + func (d *Dialogue) Version() string + type DialoguePDU struct + AbortSource *IE + ApplicationContextName *IE + Length uint8 + ProtocolVersion *IE + Result *IE + ResultSourceDiagnostic *IE + Type Tag + UserInformation *IE + func NewAARE(protover int, context, contextver, result uint8, diagsrc int, reason uint8, ...) *DialoguePDU + func NewAARQ(protover int, context, contextver uint8, userinfo ...*IE) *DialoguePDU + func NewABRT(abortsrc uint8, userinfo ...*IE) *DialoguePDU + func NewDialoguePDU(dtype, pver int, ctx, ctxver, result uint8, diagsrc int, ...) *DialoguePDU + func ParseDialoguePDU(b []byte) (*DialoguePDU, error) + func (d *DialoguePDU) Context() string + func (d *DialoguePDU) ContextVersion() string + func (d *DialoguePDU) DialogueType() string + func (d *DialoguePDU) MarshalBinary() ([]byte, error) + func (d *DialoguePDU) MarshalLen() int + func (d *DialoguePDU) MarshalTo(b []byte) error + func (d *DialoguePDU) SetLength() + func (d *DialoguePDU) String() string + func (d *DialoguePDU) UnmarshalBinary(b []byte) error + func (d *DialoguePDU) Version() string + type IE struct + IE []*IE + Length uint8 + Value []byte + func NewAbortSource(src uint8) *IE + func NewApplicationContextName(ctx, ver uint8) *IE + func NewErrorCode(code int, isLocal bool) *IE + func NewIE(tag Tag, value []byte) *IE + func NewOperationCode(code int, isLocal bool) *IE + func NewResult(res uint8) *IE + func NewResultSourceDiagnostic(dtype int, reason uint8) *IE + func ParseAsBER(b []byte) ([]*IE, error) + func ParseAsBer(b []byte) ([]*IE, error) + func ParseIE(b []byte) (*IE, error) + func ParseIERecursive(b []byte) (*IE, error) + func ParseMultiIEs(b []byte) ([]*IE, error) + func (i *IE) MarshalBinary() ([]byte, error) + func (i *IE) MarshalLen() int + func (i *IE) MarshalTo(b []byte) error + func (i *IE) ParseRecursive(b []byte) error + func (i *IE) SetLength() + func (i *IE) String() string + func (i *IE) UnmarshalBinary(b []byte) error + type InvalidCodeError struct + Code int + func (e *InvalidCodeError) Error() string + type TCAP struct + Components *Components + Dialogue *Dialogue + Transaction *Transaction + func NewBeginInvoke(otid uint32, invID, opCode int, payload []byte) *TCAP + func NewBeginInvokeWithDialogue(otid uint32, dlgType, ctx, ctxver uint8, invID, opCode int, payload []byte) *TCAP + func NewContinueInvoke(otid, dtid uint32, invID, opCode int, payload []byte) *TCAP + func NewEndReturnResult(dtid uint32, invID, opCode int, isLast bool, payload []byte) *TCAP + func NewEndReturnResultWithDialogue(dtid uint32, dlgType, ctx, ctxver uint8, invID, opCode int, isLast bool, ...) *TCAP + func Parse(b []byte) (*TCAP, error) + func ParseBER(b []byte) ([]*TCAP, error) + func ParseBer(b []byte) ([]*TCAP, error) + func (t *TCAP) AppContextName() string + func (t *TCAP) AppContextNameOid() string + func (t *TCAP) AppContextNameWithVersion() string + func (t *TCAP) ComponentType() []string + func (t *TCAP) DTID() uint32 + func (t *TCAP) InvokeID() []uint8 + func (t *TCAP) LayerPayload() [][]byte + func (t *TCAP) MarshalBinary() ([]byte, error) + func (t *TCAP) MarshalLen() int + func (t *TCAP) MarshalTo(b []byte) error + func (t *TCAP) OTID() uint32 + func (t *TCAP) OpCode() []uint8 + func (t *TCAP) SetLength() + func (t *TCAP) String() string + func (t *TCAP) UnmarshalBinary(b []byte) error + type Tag uint8 + func NewApplicationWideConstructorTag(code int) Tag + func NewApplicationWidePrimitiveTag(code int) Tag + func NewContextSpecificConstructorTag(code int) Tag + func NewContextSpecificPrimitiveTag(code int) Tag + func NewPrivateConstructorTag(code int) Tag + func NewPrivatePrimitiveTag(code int) Tag + func NewTag(cls, form, code int) Tag + func NewUniversalConstructorTag(code int) Tag + func NewUniversalPrimitiveTag(code int) Tag + func (t Tag) Class() int + func (t Tag) Code() int + func (t Tag) Form() int + type Transaction struct + DestTransactionID *IE + Length uint8 + OrigTransactionID *IE + PAbortCause *IE + Payload []byte + Type Tag + func NewAbort(dtid uint32, cause uint8, payload []byte) *Transaction + func NewBegin(otid uint32, payload []byte) *Transaction + func NewContinue(otid, dtid uint32, payload []byte) *Transaction + func NewEnd(otid uint32, payload []byte) *Transaction + func NewTransaction(mtype int, otid, dtid uint32, cause uint8, payload []byte) *Transaction + func NewUnidirectional(payload []byte) *Transaction + func ParseTransaction(b []byte) (*Transaction, error) + func (t *Transaction) AbortCause() string + func (t *Transaction) DTID() string + func (t *Transaction) MarshalBinary() ([]byte, error) + func (t *Transaction) MarshalLen() int + func (t *Transaction) MarshalTo(b []byte) error + func (t *Transaction) MessageTypeString() string + func (t *Transaction) OTID() string + func (t *Transaction) SetLength() + func (t *Transaction) SetValsFrom(berParsed *IE) error + func (t *Transaction) String() string + func (t *Transaction) UnmarshalBinary(b []byte) error