Documentation
¶
Index ¶
- func SetBuildVersion(v string)
- type Level
- type MegaportClient
- type MegaportLogger
- func (d *MegaportLogger) Debug(args ...interface{})
- func (d *MegaportLogger) Debugf(format string, args ...interface{})
- func (d *MegaportLogger) Debugln(args ...interface{})
- func (d *MegaportLogger) Error(args ...interface{})
- func (d *MegaportLogger) Errorf(format string, args ...interface{})
- func (d *MegaportLogger) Errorln(args ...interface{})
- func (d *MegaportLogger) Info(args ...interface{})
- func (d *MegaportLogger) Infof(format string, args ...interface{})
- func (d *MegaportLogger) Infoln(args ...interface{})
- func (d *MegaportLogger) SetLevel(l Level)
- func (d *MegaportLogger) Trace(args ...interface{})
- func (d *MegaportLogger) Tracef(format string, args ...interface{})
- func (d *MegaportLogger) Traceln(args ...interface{})
- func (d *MegaportLogger) Warn(args ...interface{})
- func (d *MegaportLogger) Warnf(format string, args ...interface{})
- func (d *MegaportLogger) Warnln(args ...interface{})
- type MegaportServices
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetBuildVersion ¶ added in v0.4.1
func SetBuildVersion(v string)
Types ¶
type MegaportClient ¶
type MegaportClient struct { *MegaportServices DeletePorts bool Url string }
func (*MegaportClient) ConfigureServices ¶ added in v0.1.9
func (m *MegaportClient) ConfigureServices(accessKey, secretKey string) error
type MegaportLogger ¶ added in v0.1.9
type MegaportLogger struct {
// contains filtered or unexported fields
}
func NewMegaportLogger ¶ added in v0.1.9
func NewMegaportLogger() *MegaportLogger
func (*MegaportLogger) Debug ¶ added in v0.1.9
func (d *MegaportLogger) Debug(args ...interface{})
Emit the message and args at DEBUG level
func (*MegaportLogger) Debugf ¶ added in v0.1.9
func (d *MegaportLogger) Debugf(format string, args ...interface{})
Emit the message and args at DEBUG level
func (*MegaportLogger) Debugln ¶ added in v0.1.9
func (d *MegaportLogger) Debugln(args ...interface{})
Emit the message and args at DEBUG level
func (*MegaportLogger) Error ¶ added in v0.1.9
func (d *MegaportLogger) Error(args ...interface{})
Emit the message and args at ERROR level
func (*MegaportLogger) Errorf ¶ added in v0.1.9
func (d *MegaportLogger) Errorf(format string, args ...interface{})
Emit the message and args at ERROR level
func (*MegaportLogger) Errorln ¶ added in v0.1.9
func (d *MegaportLogger) Errorln(args ...interface{})
Emit the message and args at ERROR level
func (*MegaportLogger) Info ¶ added in v0.1.9
func (d *MegaportLogger) Info(args ...interface{})
Emit the message and args at INFO level
func (*MegaportLogger) Infof ¶ added in v0.1.9
func (d *MegaportLogger) Infof(format string, args ...interface{})
Emit the message and args at INFO level
func (*MegaportLogger) Infoln ¶ added in v0.1.9
func (d *MegaportLogger) Infoln(args ...interface{})
Emit the message and args at INFO level
func (*MegaportLogger) SetLevel ¶ added in v0.1.9
func (d *MegaportLogger) SetLevel(l Level)
func (*MegaportLogger) Trace ¶ added in v0.1.9
func (d *MegaportLogger) Trace(args ...interface{})
Emit the message and args at TRACE level
func (*MegaportLogger) Tracef ¶ added in v0.1.9
func (d *MegaportLogger) Tracef(format string, args ...interface{})
Emit the message and args at TRACE level
func (*MegaportLogger) Traceln ¶ added in v0.1.9
func (d *MegaportLogger) Traceln(args ...interface{})
Emit the message and args at TRACE level
func (*MegaportLogger) Warn ¶ added in v0.1.9
func (d *MegaportLogger) Warn(args ...interface{})
Emit the message and args at WARN level
func (*MegaportLogger) Warnf ¶ added in v0.1.9
func (d *MegaportLogger) Warnf(format string, args ...interface{})
Emit the message and args at WARN level
func (*MegaportLogger) Warnln ¶ added in v0.1.9
func (d *MegaportLogger) Warnln(args ...interface{})
Emit the message and args at WARN level
Click to show internal directories.
Click to hide internal directories.