func (t Transport) SetIdleTimeout(timeout time.Duration) { C.pn_transport_set_idle_timeout(t.pn, C.pn_millis_t(timeout)) }
func (m *message) SetTTL(d time.Duration) { C.pn_message_set_ttl(m.pn, C.pn_millis_t(d/time.Millisecond)) }