Files
golib/errors/modules.go
Nicolas JUHEL efd2784ac9 Pkg nats (#103)
# Add package :
- config server, cluster, logger, user & permission
- config client & builder
- interface for managing server, cluster and client
- test for nats cluster / client producer & subscriber

# Update packages : 
- pkg errors : constant to add package nats
- pkg logger : add function to read options
- pkg ioutils : add function to check / create file & path

# Dependancies : 
- Bump dependancies
- Add dependancies : 
  - github.com/nats-io/nats-server/v2
  - github.com/nats-io/nats.go
2021-05-06 12:56:53 +02:00

58 lines
1.8 KiB
Go

/*
* MIT License
*
* Copyright (c) 2020 Nicolas JUHEL
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*
*/
package errors
const (
MinPkgArchive = 100
MinPkgArtifact = 200
MinPkgCertificate = 300
MinPkgCluster = 400
MinPkgConsole = 500
MinPkgCrypt = 600
MinPkgHttpCli = 700
MinPkgHttpServer = 800
MinPkgIOUtils = 900
MinPkgLDAP = 1000
MinPkgMail = 1100
MinPkgMailer = 1200
MinPkgNetwork = 1300
MinPkgNats = 1400
MinPkgNutsDB = 1500
MinPkgOAuth = 1600
MinPkgAws = 1700
MinPkgRouter = 1800
MinPkgSemaphore = 1900
MinPkgSMTP = 2000
MinPkgStatic = 2100
MinPkgVersion = 2200
MinAvailable = 4000
// MIN_AVAILABLE @Deprecated use MinAvailable constant
MIN_AVAILABLE = MinAvailable
)