func EndWebTransaction(transactionId TTransactionId) int {
	result := C.newrelic_transaction_end(C.long(transactionId))
	return int(result)
}
func EndTransaction(txnID int64) error {
	rv := C.newrelic_transaction_end(C.long(txnID))
	return nrError(rv, "end transaction")
}
Example #3
0
/*
 * Identify the end of a transaction
 *
 * @param transaction_id  id of transaction
 * @return  0 on success, else negative warning code or error code
 */
func TransactionEnd(id int64) (int, error) {
	return errNo(C.newrelic_transaction_end(C.long(id)))
}