service

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DelNamespace

func DelNamespace(name string, cfg *models.CCConfig) error

DelNamespace delete namespace

func ModifyNamespace

func ModifyNamespace(namespace *models.Namespace, cfg *models.CCConfig) (err error)

ModifyNamespace create or modify namespace

func ProxyConfigFingerprint

func ProxyConfigFingerprint(cfg *models.CCConfig) (r map[string]string, err error)

ProxyConfigFingerprint return fingerprints of all proxy

func QueryNamespace

func QueryNamespace(names []string, cfg *models.CCConfig) (data []*models.Namespace, err error)

QueryNamespace return information of namespace specified by names

func SQLFingerprint

func SQLFingerprint(name string, cfg *models.CCConfig) (slowSQLs, errSQLs map[string]string, err error)

SQLFingerprint return sql fingerprints of all proxy

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL