Documentation
¶
Index ¶
Constants ¶
View Source
const ( EncryptMethod_NONE_OTHER = 0 EncryptMethod_PKCS = 1 EncryptMethod_DES = 2 EncryptMethod_PKCS_DES = 3 EncryptMethod_PGP_DES = 4 EncryptMethod_PGP_DES_MD5 = 5 EncryptMethod_PEM_DES_MD5 = 6 )
View Source
const ( FID_EncryptMethod = 98 FID_HeartBtInt = 108 )
View Source
const ENDLEN = 8
length of |10=???|
View Source
const SOH = string(1)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FIXClient ¶
type FIXClient struct { Timeout time.Duration HeartBeat time.Duration Version string FIXAddr string SenderCompID string TargetCompID string // contains filtered or unexported fields }
func NewFixClient ¶
func (*FIXClient) Expect ¶
func (p *FIXClient) Expect(filter ...string) (msg *FixMessage, err error)
func (*FIXClient) Start ¶
func (p *FIXClient) Start(onConnect func(), onMessage func(*FixMessage), onError func(error))
type FixMessage ¶
type FixMessage struct {
// contains filtered or unexported fields
}
func NewFixMessage ¶
func NewFixMessage(s string) *FixMessage
func (*FixMessage) Raw ¶
func (p *FixMessage) Raw() string
func (*FixMessage) ResetCursor ¶
func (p *FixMessage) ResetCursor()
func (*FixMessage) String ¶
func (p *FixMessage) String() string
Click to show internal directories.
Click to hide internal directories.