Documentation ¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_FUNCTION_NAMESPACE = "cqless-fn-ns" DEFAULT_FUNCTION_NAME_LABEL = "cqless-fn-nm" DEFAULT_FUNCTION_PORT_LABEL = "cqless-fn-port" DEFAULT_ANNOTATION_LABEL_PREFIX = "com.cqless.annotations" DEFAULT_SAVE_PATH = ".local/share/cqless" DEFAULT_WATCHDOG_PORT = "8080" )
View Source
const (
CQLESS_VERSION = "v1beta-0.0.1"
)
Variables ¶
View Source
var ( DEFAULT_CONFIG_PATH = path.Join(home, DEFAULT_SAVE_PATH) DEBUG string )
View Source
var (
ErrNamespaceNotFound = errors.New("namespace not found")
)
Functions ¶
Types ¶
type CQLessConfig ¶
type CQLessConfig struct { Network *ntypes.NetworkOption `yaml:"network" mapstructure:"network"` Logger *ltypes.LoggerOption `yaml:"logger" mapstructure:"logger"` Gateway *gtypes.GatewayOption `yaml:"gateway" mapstructure:"gateway"` Proxy *proxyTypes.ProxyOption `yaml:"proxy" mapstructure:"proxy"` Resolver *rtypes.ResolverOption `yaml:"resolver" mapstructure:"resolver"` Provider *ptypes.ProviderOption `yaml:"provider" mapstructure:"provider"` CQHTTP *ctypes.CQHTTPOption `yaml:"cqhttp" mapstructure:"cqhttp"` }
func GetConfig ¶
func GetConfig() *CQLessConfig
type FunctionInvokeRequest ¶
type FunctionInvokeRequest struct {
FunctionName string `form:"name" json:"name"`
}
Click to show internal directories.
Click to hide internal directories.