Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppendFile ¶
func (*AppendFile) GetActionId ¶
func (action *AppendFile) GetActionId() string
func (*AppendFile) GetActionType ¶
func (action *AppendFile) GetActionType() string
func (*AppendFile) GetOccurredAt ¶
func (action *AppendFile) GetOccurredAt() int64
func (*AppendFile) MarshalJSON ¶
func (appendFile *AppendFile) MarshalJSON() ([]byte, error)
type CallFromInbound ¶
type CallFromInbound struct { OriginalRequestTime int64 OriginalRequest []byte // contains filtered or unexported fields }
func (*CallFromInbound) GetActionId ¶
func (action *CallFromInbound) GetActionId() string
func (*CallFromInbound) GetActionType ¶
func (action *CallFromInbound) GetActionType() string
func (*CallFromInbound) GetOccurredAt ¶
func (action *CallFromInbound) GetOccurredAt() int64
func (*CallFromInbound) MarshalJSON ¶
func (callFromInbound *CallFromInbound) MarshalJSON() ([]byte, error)
type CallFunction ¶
type CallFunction struct { CallIntoFile string CallIntoLine int FuncName string Args []interface{} // contains filtered or unexported fields }
func (*CallFunction) GetActionId ¶
func (action *CallFunction) GetActionId() string
func (*CallFunction) GetActionType ¶
func (action *CallFunction) GetActionType() string
func (*CallFunction) GetOccurredAt ¶
func (action *CallFunction) GetOccurredAt() int64
type CallOutbound ¶
type CallOutbound struct { MatchedRequest []byte MatchedResponse []byte MatchedActionIndex int MatchedMark float64 MockedResponse []byte Request []byte Peer net.TCPAddr // contains filtered or unexported fields }
func NewCallOutbound ¶
func NewCallOutbound(peer net.TCPAddr, request []byte) *CallOutbound
func (*CallOutbound) GetActionId ¶
func (action *CallOutbound) GetActionId() string
func (*CallOutbound) GetActionType ¶
func (action *CallOutbound) GetActionType() string
func (*CallOutbound) GetOccurredAt ¶
func (action *CallOutbound) GetOccurredAt() int64
func (*CallOutbound) MarshalJSON ¶
func (callOutbound *CallOutbound) MarshalJSON() ([]byte, error)
type ReplayedAction ¶
type ReturnFunction ¶
type ReturnFunction struct { CallFunctionId string ReturnValue interface{} // contains filtered or unexported fields }
func (*ReturnFunction) GetActionId ¶
func (action *ReturnFunction) GetActionId() string
func (*ReturnFunction) GetActionType ¶
func (action *ReturnFunction) GetActionType() string
func (*ReturnFunction) GetOccurredAt ¶
func (action *ReturnFunction) GetOccurredAt() int64
type ReturnInbound ¶
type ReturnInbound struct { OriginalResponse []byte Response []byte // contains filtered or unexported fields }
func (*ReturnInbound) GetActionId ¶
func (action *ReturnInbound) GetActionId() string
func (*ReturnInbound) GetActionType ¶
func (action *ReturnInbound) GetActionType() string
func (*ReturnInbound) GetOccurredAt ¶
func (action *ReturnInbound) GetOccurredAt() int64
func (*ReturnInbound) MarshalJSON ¶
func (returnInbound *ReturnInbound) MarshalJSON() ([]byte, error)
type SendUDP ¶
func (*SendUDP) GetActionId ¶
func (action *SendUDP) GetActionId() string
func (*SendUDP) GetActionType ¶
func (action *SendUDP) GetActionType() string
func (*SendUDP) GetOccurredAt ¶
func (action *SendUDP) GetOccurredAt() int64
func (*SendUDP) MarshalJSON ¶
type Session ¶
type Session struct { Context string SessionId string CallFromInbound *recording.CallFromInbound ReturnInbound *recording.ReturnInbound CallOutbounds []*recording.CallOutbound RedirectDirs map[string]string MockFiles map[string][][]byte AppendFiles []*recording.AppendFile TracePaths []string }
func NewSession ¶
func NewSession() *Session
Click to show internal directories.
Click to hide internal directories.