Versions in this module Expand all Collapse all v1 v1.2.5 Jun 6, 2023 v1.2.4 Jun 6, 2023 Changes in this version type Config + var CONFIG *Config + type Control struct + Config *Config + GremlinUrl string + func (ctl *Control) GremlinApiGet(gremlin string) (result Result, err error) + func (ctl *Control) GremlinApiPost(gremlin string) (result Result, err error) + func (ctl *Control) QueryEdgesGet(gremlin string) (edges Edges, requestId string, err error) + func (ctl *Control) QueryEdgesPost(gremlin string) (edges Edges, requestId string, err error) + func (ctl *Control) QueryPathsGet(gremlin string) (paths Paths, requestId string, err error) + func (ctl *Control) QueryPathsPost(gremlin string) (paths Paths, requestId string, err error) + func (ctl *Control) QueryValuesPost(gremlin string) (values []string, err error) + func (ctl *Control) QueryVertexsGet(gremlin string) (vertexs Vertexs, requestId string, err error) + func (ctl *Control) QueryVertexsPost(gremlin string) (vertexs Vertexs, requestId string, err error) + func (ctl *Control) SchemaDeleteHttp(url string) (result interface{}, err error) + func (ctl *Control) SchemaGetHttp(url string) (result interface{}, err error) + func (ctl *Control) SchemaPostHttp(url string, param interface{}) (result interface{}, err error) + func (ctl *Control) SchemaPutHttp(url string, param interface{}) (result interface{}, err error) v1.2.3 Jun 6, 2023 v1.2.2 Jun 6, 2023 v1.2.1 May 25, 2023 Changes in this version type Config + func (conf *Config) NewHugegraphCTL() (ctl *CTL) v1.2.0 May 25, 2023 Changes in this version + func InitHugegraphCTL(conf *Config) + type CTL struct + Config *Config + GremlinUrl string + var Ctl *CTL + func (ctl *CTL) GremlinApiGet(gremlin string) (result Result, err error) + func (ctl *CTL) GremlinApiPost(gremlin string) (result Result, err error) + func (ctl *CTL) QueryEdgesGet(gremlin string) (edges Edges, requestId string, err error) + func (ctl *CTL) QueryEdgesPost(gremlin string) (edges Edges, requestId string, err error) + func (ctl *CTL) QueryPathsGet(gremlin string) (paths Paths, requestId string, err error) + func (ctl *CTL) QueryPathsPost(gremlin string) (paths Paths, requestId string, err error) + func (ctl *CTL) QueryValuesPost(gremlin string) (values []string, err error) + func (ctl *CTL) QueryVertexsGet(gremlin string) (vertexs Vertexs, requestId string, err error) + func (ctl *CTL) QueryVertexsPost(gremlin string) (vertexs Vertexs, requestId string, err error) + func (ctl *CTL) SchemaDeleteHttp(url string) (result interface{}, err error) + func (ctl *CTL) SchemaGetHttp(url string) (result interface{}, err error) + func (ctl *CTL) SchemaPostHttp(url string, param interface{}) (result interface{}, err error) + func (ctl *CTL) SchemaPutHttp(url string, param interface{}) (result interface{}, err error) type Config + func (conf *Config) Format() string type Param + func GremlinApiParam(gremlin string) Param v1.1.8 May 24, 2023 Changes in this version + const BaseTypeAll + const CardinalityAll + const DateTypesAll + const Edgelabels + const IdStrategyAll + const IndexTypeAll + const Indexlabels + const Multiple + const Propertykeys + const Single + const SizeAll + const ThicknessAll + const Vertexlabels + func InitHugegraph(config *Config) + func QueryValuesPost(gremlin string) (values []string, err error) + func SchemaDelete(suffixUrl string) (interface{}, error) + func SchemaGet(suffixUrl string) (interface{}, error) + func SchemaPost(suffixUrl string, param interface{}) (interface{}, error) + func SchemaPut(suffixUrl string, param interface{}) (interface{}, error) + func UpdateHugegraph(config *Config) + type Config struct + Graph string + Host string + Port string + var Conf *Config + func (c *Config) GremlinHttpUrl() string + func (c *Config) SchemaHttpUrl(suffixUrl string) string + type Edge struct + Id string + InV string + InVLabel string + Label string + OutV string + OutVLabel string + Properties EdgeProperties + Type string + type EdgeAddParam struct + EnableLabelIndex bool + Frequency string + Name string + NullableKeys []string + Properties []string + SortKeys []string + SourceLabel string + TargetLabel string + Ttl int + UserData map[string]string + type EdgeProperties struct + PeerDate string + PeerDays int32 + PeerSites int32 + PeerTimes int32 + RelationCode string + RelationDescription string + RelationName string + RelationTypeLv1 string + RelationTypeLv2 string + Sxh int + type Edges []*Edge + func QueryEdgesGet(gremlin string) (edges Edges, requestId string, err error) + func QueryEdgesPost(gremlin string) (edges Edges, requestId string, err error) + type IndexAddParam struct + BaseType string + BaseValue string + Fields []string + IndexType string + Name string + type Param struct + Aliases interface{} + Bindings interface{} + Gremlin string + Language string + func InitGremlinParam(gremlin string) Param + type Path struct + Labels interface{} + Objects PathProperties + type PathProperties []*PathProperty + type PathProperty struct + Id string + InV string + InVLabel string + Label string + OutV string + OutVLabel string + Properties interface{} + Type string + type Paths []*Path + func QueryPathsGet(gremlin string) (paths Paths, requestId string, err error) + func QueryPathsPost(gremlin string) (paths Paths, requestId string, err error) + type PropertiesAppendParam struct + Name string + NullableKeys []string + Properties []string + UserData map[string]string + type PropertyAddParam struct + Cardinality string + DataType string + Name string + type Result struct + RequestId string + Result ResultInfo + Status StatusInfo + func HttpGet(gremlin string) (result Result, err error) + func HttpPost(gremlin string) (result Result, err error) + type ResultInfo struct + Data interface{} + Meta interface{} + type StatusInfo struct + Attributes interface{} + Code int64 + Message string + type Vertex struct + Id string + Label string + Properties VertexProperties + Type string + type VertexAddParam struct + EnableLabelIndex bool + IdStrategy string + IndexLabels []string + Name string + NullableKeys []string + PrimaryKeys []string + Properties []string + Ttl int + UserData map[string]string + type VertexProperties struct + IsZdbq int + ObjId string + ObjName string + ObjType string + Sxh int + type Vertexs []*Vertex + func QueryVertexsGet(gremlin string) (vertexs Vertexs, requestId string, err error) + func QueryVertexsPost(gremlin string) (vertexs Vertexs, requestId string, err error)