The MIT License (MIT)r
r
Copyright (c) 2014 Steven Selphr
r
Permission is hereby granted, free of charge, to any person obtaining a copyr
of this software and associated documentation files (the "Software"), to dealr
in the Software without restriction, including without limitation the rightsr
to use, copy, modify, merge, publish, distribute, sublicense, and/or sellr
copies of the Software, and to permit persons to whom the Software isr
furnished to do so, subject to the following conditions:r
r
The above copyright notice and this permission notice shall be included in allr
copies or substantial portions of the Software.r
r
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORr
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,r
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEr
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERr
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,r
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THEr
SOFTWARE.r
-n r
r
Imported Libraries:r
r
r
-n github.com/nfnt/resizer
r
r
Copyright (c) 2012, Jan Schlicht <jan.schlicht@gmail.com>r
r
Permission to use, copy, modify, and/or distribute this software for any purposer
with or without fee is hereby granted, provided that the above copyright noticer
and this permission notice appear in all copies.r
r
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITHr
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY ANDr
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,r
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSSr
OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHERr
TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OFr
THIS SOFTWARE.r
-n r
r
r
-n github.com/kr/fsr
r
r
Copyright (c) 2012 The Go Authors. All rights reserved.r
r
Redistribution and use in source and binary forms, with or withoutr
modification, are permitted provided that the following conditions arer
met:r
r
   * Redistributions of source code must retain the above copyrightr
notice, this list of conditions and the following disclaimer.r
   * Redistributions in binary form must reproduce the abover
copyright notice, this list of conditions and the following disclaimerr
in the documentation and/or other materials provided with ther
distribution.r
   * Neither the name of Google Inc. nor the names of itsr
contributors may be used to endorse or promote products derived fromr
this software without specific prior written permission.r
r
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORSr
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOTr
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FORr
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHTr
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,r
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOTr
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,r
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANYr
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORTr
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USEr
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.r
-n r
r
r
-n github.com/syndtr/goleveldbr
r
r
Copyright 2012 Suryandaru Triandana <syndtr@gmail.com>r
All rights reserved.r
r
Redistribution and use in source and binary forms, with or withoutr
modification, are permitted provided that the following conditions arer
met:r
r
    * Redistributions of source code must retain the above copyrightr
notice, this list of conditions and the following disclaimer.r
    * Redistributions in binary form must reproduce the above copyrightr
notice, this list of conditions and the following disclaimer in ther
documentation and/or other materials provided with the distribution.r
r
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORSr
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOTr
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FORr
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHTr
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,r
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOTr
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,r
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANYr
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORTr
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USEr
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.r
-n r
r
r
-n github.com/mitchellh/go-homedirr
r
r
The MIT License (MIT)r
r
Copyright (c) 2013 Mitchell Hashimotor
r
Permission is hereby granted, free of charge, to any person obtaining a copyr
of this software and associated documentation files (the "Software"), to dealr
in the Software without restriction, including without limitation the rightsr
to use, copy, modify, merge, publish, distribute, sublicense, and/or sellr
copies of the Software, and to permit persons to whom the Software isr
furnished to do so, subject to the following conditions:r
r
The above copyright notice and this permission notice shall be included inr
all copies or substantial portions of the Software.r
r
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORr
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,r
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEr
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERr
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,r
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS INr
THE SOFTWARE.r
-n r
r
r
-n github.com/mattn/go-sqlite3r
r
r
The MIT License (MIT)r
r
Copyright (c) 2014 Yasuhiro Matsumotor
r
Permission is hereby granted, free of charge, to any person obtaining a copyr
of this software and associated documentation files (the "Software"), to dealr
in the Software without restriction, including without limitation the rightsr
to use, copy, modify, merge, publish, distribute, sublicense, and/or sellr
copies of the Software, and to permit persons to whom the Software isr
furnished to do so, subject to the following conditions:r
r
The above copyright notice and this permission notice shall be included in allr
copies or substantial portions of the Software.r
r
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORr
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,r
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEr
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERr
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,r
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THEr
SOFTWARE.r
-n r
r
r
-n github.com/hashicorp/golang-lrur
r
r
Mozilla Public License, version 2.0r
r
1. Definitionsr
r
1.1. "Contributor"r
r
     means each individual or legal entity that creates, contributes to ther
     creation of, or owns Covered Software.r
r
1.2. "Contributor Version"r
r
     means the combination of the Contributions of others (if any) used by ar
     Contributor and that particular Contributor's Contribution.r
r
1.3. "Contribution"r
r
     means Covered Software of a particular Contributor.r
r
1.4. "Covered Software"r
r
     means Source Code Form to which the initial Contributor has attached ther
     notice in Exhibit A, the Executable Form of such Source Code Form, andr
     Modifications of such Source Code Form, in each case including portionsr
     thereof.r
r
1.5. "Incompatible With Secondary Licenses"r
     meansr
r
     a. that the initial Contributor has attached the notice described inr
        Exhibit B to the Covered Software; orr
r
     b. that the Covered Software was made available under the terms ofr
        version 1.1 or earlier of the License, but not also under the terms ofr
        a Secondary License.r
r
1.6. "Executable Form"r
r
     means any form of the work other than Source Code Form.r
r
1.7. "Larger Work"r
r
     means a work that combines Covered Software with other material, in ar
     separate file or files, that is not Covered Software.r
r
1.8. "License"r
r
     means this document.r
r
1.9. "Licensable"r
r
     means having the right to grant, to the maximum extent possible, whetherr
     at the time of the initial grant or subsequently, any and all of ther
     rights conveyed by this License.r
r
1.10. "Modifications"r
r
     means any of the following:r
r
     a. any file in Source Code Form that results from an addition to,r
        deletion from, or modification of the contents of Covered Software; orr
r
     b. any new file in Source Code Form that contains any Covered Software.r
r
1.11. "Patent Claims" of a Contributorr
r
      means any patent claim(s), including without limitation, method,r
      process, and apparatus claims, in any patent Licensable by suchr
      Contributor that would be infringed, but for the grant of the License,r
      by the making, using, selling, offering for sale, having made, import,r
      or transfer of either its Contributions or its Contributor Version.r
r
1.12. "Secondary License"r
r
      means either the GNU General Public License, Version 2.0, the GNU Lesserr
      General Public License, Version 2.1, the GNU Affero General Publicr
      License, Version 3.0, or any later versions of those licenses.r
r
1.13. "Source Code Form"r
r
      means the form of the work preferred for making modifications.r
r
1.14. "You" (or "Your")r
r
      means an individual or a legal entity exercising rights under thisr
      License. For legal entities, "You" includes any entity that controls, isr
      controlled by, or is under common control with You. For purposes of thisr
      definition, "control" means (a) the power, direct or indirect, to causer
      the direction or management of such entity, whether by contract orr
      otherwise, or (b) ownership of more than fifty percent (50%) of ther
      outstanding shares or beneficial ownership of such entity.r
r
r
2. License Grants and Conditionsr
r
2.1. Grantsr
r
     Each Contributor hereby grants You a world-wide, royalty-free,r
     non-exclusive license:r
r
     a. under intellectual property rights (other than patent or trademark)r
        Licensable by such Contributor to use, reproduce, make available,r
        modify, display, perform, distribute, and otherwise exploit itsr
        Contributions, either on an unmodified basis, with Modifications, orr
        as part of a Larger Work; andr
r
     b. under Patent Claims of such Contributor to make, use, sell, offer forr
        sale, have made, import, and otherwise transfer either itsr
        Contributions or its Contributor Version.r
r
2.2. Effective Dater
r
     The licenses granted in Section 2.1 with respect to any Contributionr
     become effective for each Contribution on the date the Contributor firstr
     distributes such Contribution.r
r
2.3. Limitations on Grant Scoper
r
     The licenses granted in this Section 2 are the only rights granted underr
     this License. No additional rights or licenses will be implied from ther
     distribution or licensing of Covered Software under this License.r
     Notwithstanding Section 2.1(b) above, no patent license is granted by ar
     Contributor:r
r
     a. for any code that a Contributor has removed from Covered Software; orr
r
     b. for infringements caused by: (i) Your and any other third party'sr
        modifications of Covered Software, or (ii) the combination of itsr
        Contributions with other software (except as part of its Contributorr
        Version); orr
r
     c. under Patent Claims infringed by Covered Software in the absence ofr
        its Contributions.r
r
     This License does not grant any rights in the trademarks, service marks,r
     or logos of any Contributor (except as may be necessary to comply withr
     the notice requirements in Section 3.4).r
r
2.4. Subsequent Licensesr
r
     No Contributor makes additional grants as a result of Your choice tor
     distribute the Covered Software under a subsequent version of thisr
     License (see Section 10.2) or under the terms of a Secondary License (ifr
     permitted under the terms of Section 3.3).r
r
2.5. Representationr
r
     Each Contributor represents that the Contributor believes itsr
     Contributions are its original creation(s) or it has sufficient rights tor
     grant the rights to its Contributions conveyed by this License.r
r
2.6. Fair User
r
     This License is not intended to limit any rights You have underr
     applicable copyright doctrines of fair use, fair dealing, or otherr
     equivalents.r
r
2.7. Conditionsr
r
     Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted inr
     Section 2.1.r
r
r
3. Responsibilitiesr
r
3.1. Distribution of Source Formr
r
     All distribution of Covered Software in Source Code Form, including anyr
     Modifications that You create or to which You contribute, must be underr
     the terms of this License. You must inform recipients that the Sourcer
     Code Form of the Covered Software is governed by the terms of thisr
     License, and how they can obtain a copy of this License. You may notr
     attempt to alter or restrict the recipients' rights in the Source Coder
     Form.r
r
3.2. Distribution of Executable Formr
r
     If You distribute Covered Software in Executable Form then:r
r
     a. such Covered Software must also be made available in Source Code Form,r
        as described in Section 3.1, and You must inform recipients of ther
        Executable Form how they can obtain a copy of such Source Code Form byr
        reasonable means in a timely manner, at a charge no more than the costr
        of distribution to the recipient; andr
r
     b. You may distribute such Executable Form under the terms of thisr
        License, or sublicense it under different terms, provided that ther
        license for the Executable Form does not attempt to limit or alter ther
        recipients' rights in the Source Code Form under this License.r
r
3.3. Distribution of a Larger Workr
r
     You may create and distribute a Larger Work under terms of Your choice,r
     provided that You also comply with the requirements of this License forr
     the Covered Software. If the Larger Work is a combination of Coveredr
     Software with a work governed by one or more Secondary Licenses, and ther
     Covered Software is not Incompatible With Secondary Licenses, thisr
     License permits You to additionally distribute such Covered Softwarer
     under the terms of such Secondary License(s), so that the recipient ofr
     the Larger Work may, at their option, further distribute the Coveredr
     Software under the terms of either this License or such Secondaryr
     License(s).r
r
3.4. Noticesr
r
     You may not remove or alter the substance of any license noticesr
     (including copyright notices, patent notices, disclaimers of warranty, orr
     limitations of liability) contained within the Source Code Form of ther
     Covered Software, except that You may alter any license notices to ther
     extent required to remedy known factual inaccuracies.r
r
3.5. Application of Additional Termsr
r
     You may choose to offer, and to charge a fee for, warranty, support,r
     indemnity or liability obligations to one or more recipients of Coveredr
     Software. However, You may do so only on Your own behalf, and not onr
     behalf of any Contributor. You must make it absolutely clear that anyr
     such warranty, support, indemnity, or liability obligation is offered byr
     You alone, and You hereby agree to indemnify every Contributor for anyr
     liability incurred by such Contributor as a result of warranty, support,r
     indemnity or liability terms You offer. You may include additionalr
     disclaimers of warranty and limitations of liability specific to anyr
     jurisdiction.r
r
4. Inability to Comply Due to Statute or Regulationr
r
   If it is impossible for You to comply with any of the terms of this Licenser
   with respect to some or all of the Covered Software due to statute,r
   judicial order, or regulation then You must: (a) comply with the terms ofr
   this License to the maximum extent possible; and (b) describe ther
   limitations and the code they affect. Such description must be placed in ar
   text file included with all distributions of the Covered Software underr
   this License. Except to the extent prohibited by statute or regulation,r
   such description must be sufficiently detailed for a recipient of ordinaryr
   skill to be able to understand it.r
r
5. Terminationr
r
5.1. The rights granted under this License will terminate automatically if Your
     fail to comply with any of its terms. However, if You become compliant,r
     then the rights granted under this License from a particular Contributorr
     are reinstated (a) provisionally, unless and until such Contributorr
     explicitly and finally terminates Your grants, and (b) on an ongoingr
     basis, if such Contributor fails to notify You of the non-compliance byr
     some reasonable means prior to 60 days after You have come back intor
     compliance. Moreover, Your grants from a particular Contributor arer
     reinstated on an ongoing basis if such Contributor notifies You of ther
     non-compliance by some reasonable means, this is the first time You haver
     received notice of non-compliance with this License from suchr
     Contributor, and You become compliant prior to 30 days after Your receiptr
     of the notice.r
r
5.2. If You initiate litigation against any entity by asserting a patentr
     infringement claim (excluding declaratory judgment actions,r
     counter-claims, and cross-claims) alleging that a Contributor Versionr
     directly or indirectly infringes any patent, then the rights granted tor
     You by any and all Contributors for the Covered Software under Sectionr
     2.1 of this License shall terminate.r
r
5.3. In the event of termination under Sections 5.1 or 5.2 above, all end userr
     license agreements (excluding distributors and resellers) which have beenr
     validly granted by You or Your distributors under this License prior tor
     termination shall survive termination.r
r
6. Disclaimer of Warrantyr
r
   Covered Software is provided under this License on an "as is" basis,r
   without warranty of any kind, either expressed, implied, or statutory,r
   including, without limitation, warranties that the Covered Software is freer
   of defects, merchantable, fit for a particular purpose or non-infringing.r
   The entire risk as to the quality and performance of the Covered Softwarer
   is with You. Should any Covered Software prove defective in any respect,r
   You (not any Contributor) assume the cost of any necessary servicing,r
   repair, or correction. This disclaimer of warranty constitutes an essentialr
   part of this License. No use of  any Covered Software is authorized underr
   this License except under this disclaimer.r
r
7. Limitation of Liabilityr
r
   Under no circumstances and under no legal theory, whether tort (includingr
   negligence), contract, or otherwise, shall any Contributor, or anyone whor
   distributes Covered Software as permitted above, be liable to You for anyr
   direct, indirect, special, incidental, or consequential damages of anyr
   character including, without limitation, damages for lost profits, loss ofr
   goodwill, work stoppage, computer failure or malfunction, or any and allr
   other commercial damages or losses, even if such party shall have beenr
   informed of the possibility of such damages. This limitation of liabilityr
   shall not apply to liability for death or personal injury resulting fromr
   such party's negligence to the extent applicable law prohibits suchr
   limitation. Some jurisdictions do not allow the exclusion or limitation ofr
   incidental or consequential damages, so this exclusion and limitation mayr
   not apply to You.r
r
8. Litigationr
r
   Any litigation relating to this License may be brought only in the courtsr
   of a jurisdiction where the defendant maintains its principal place ofr
   business and such litigation shall be governed by laws of thatr
   jurisdiction, without reference to its conflict-of-law provisions. Nothingr
   in this Section shall prevent a party's ability to bring cross-claims orr
   counter-claims.r
r
9. Miscellaneousr
r
   This License represents the complete agreement concerning the subjectr
   matter hereof. If any provision of this License is held to ber
   unenforceable, such provision shall be reformed only to the extentr
   necessary to make it enforceable. Any law or regulation which provides thatr
   the language of a contract shall be construed against the drafter shall notr
   be used to construe this License against a Contributor.r
r
r
10. Versions of the Licenser
r
10.1. New Versionsr
r
      Mozilla Foundation is the license steward. Except as provided in Sectionr
      10.3, no one other than the license steward has the right to modify orr
      publish new versions of this License. Each version will be given ar
      distinguishing version number.r
r
10.2. Effect of New Versionsr
r
      You may distribute the Covered Software under the terms of the versionr
      of the License under which You originally received the Covered Software,r
      or under the terms of any subsequent version published by the licenser
      steward.r
r
10.3. Modified Versionsr
r
      If you create software not governed by this License, and you want tor
      create a new license for such software, you may create and use ar
      modified version of this License if you rename the license and remover
      any references to the name of the license steward (except to note thatr
      such modified license differs from this License).r
r
10.4. Distributing Source Code Form that is Incompatible With Secondaryr
      Licenses If You choose to distribute Source Code Form that isr
      Incompatible With Secondary Licenses under the terms of this version ofr
      the License, the notice described in Exhibit B of this License must ber
      attached.r
r
Exhibit A - Source Code Form License Noticer
r
      This Source Code Form is subject to ther
      terms of the Mozilla Public License, v.r
      2.0. If a copy of the MPL was notr
      distributed with this file, You canr
      obtain one atr
      http://mozilla.org/MPL/2.0/.r
r
If it is not possible or desirable to put the notice in a particular file,r
then You may include the notice in a location (such as a LICENSE file in ar
relevant directory) where a recipient would be likely to look for such ar
notice.r
r
You may add additional accurate notices of copyright ownership.r
r
Exhibit B - "Incompatible With Secondary Licenses" Noticer
r
      This Source Code Form is "Incompatibler
      With Secondary Licenses", as defined byr
      the Mozilla Public License, v. 2.0.r
