mirror of
https://github.com/Luzifer/culmqtt.git
synced 2024-11-14 08:42:43 +00:00
21 lines
445 B
Go
21 lines
445 B
Go
/*
|
|
* Copyright (c) 2013 IBM Corp.
|
|
*
|
|
* All rights reserved. This program and the accompanying materials
|
|
* are made available under the terms of the Eclipse Public License v1.0
|
|
* which accompanies this distribution, and is available at
|
|
* http://www.eclipse.org/legal/epl-v10.html
|
|
*
|
|
* Contributors:
|
|
* Seth Hoenig
|
|
* Allan Stockdill-Mander
|
|
* Mike Robertson
|
|
*/
|
|
|
|
package mqtt
|
|
|
|
func chkerr(e error) {
|
|
if e != nil {
|
|
panic(e)
|
|
}
|
|
}
|