Newer
Older
package main
import (
"github.com/go-openapi/runtime"
)
// hostname or IP only. No protocol prefix and no request suffix (I'm looking at you C//)
const ENDPOINT = "developer.ciena.com"
// Ciena Emulation Cloud only
const REQUEST_PREFIX = "externalApi/o1/64/o2/58?md5=PaR-iVYPq_fTUCvlqUBoVg&expires=1600707600&path="
const USERNAME = "dev"
const PASSWORD = "dev131526"
type Client interface {
GetConfig() string
}
type GenericClient struct {
transport *runtime.ClientTransport
}
func NewClient(endpoint, requestPrefix, username, password string) GenericClient {
return GenericClient{}
}