Documentation
¶
Overview ¶
Copyright © 2024 NAME HERE <EMAIL ADDRESS>
Copyright © 2024 NAME HERE <EMAIL ADDRESS>
Copyright © 2024 NAME HERE <EMAIL ADDRESS>
Copyright © 2024 NAME HERE <EMAIL ADDRESS>
Copyright © 2024 NAME HERE <EMAIL ADDRESS>
Copyright © 2024 NAME HERE <EMAIL ADDRESS>
Copyright © 2024 Jackson Xie xzxiong@yeah.net
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright © 2024 NAME HERE <EMAIL ADDRESS>
Index ¶
Constants ¶
const ( MinVersion = defines.MORPCMinVersion GOMaxProcsVersion = defines.MORPCVersion3 GOMEMLimitVersion = defines.MORPCVersion3 GOGCPercentVersion = defines.MORPCVersion4 // MetadataCache Version MetadataCacheVersion = defines.MORPCVersion4 )
Variables ¶
var GOGCPercentCmd = &cobra.Command{ Use: "GOGCPercent", Short: "helps to call MO QueryService/GOGCPercent api", Long: `A longer description that spans multiple lines and likely contains examples and usage of using your command. For example: Cobra is a CLI library for Go that empowers applications. This application is a tool to generate the needed files to quickly create a Cobra application.`, Run: func(cmd *cobra.Command, args []string) { goGCPercent() }, }
GOGCPercentCmd represents the GOGCPercent command
var GOMEMLimitCmd = &cobra.Command{ Use: "GOMEMLimit", Short: "helps to call MO QueryService/GOMEMLimit api", Long: `A longer description that spans multiple lines and likely contains examples and usage of using your command. For example: Cobra is a CLI library for Go that empowers applications. This application is a tool to generate the needed files to quickly create a Cobra application.`, Run: func(cmd *cobra.Command, args []string) { goMemLimit() }, }
GOMEMLimitCmd represents the GOMEMLimit command
var GOMaxProcsCmd = &cobra.Command{ Use: "GOMaxProcs", Short: "helps to call MO QueryService/GOMaxProcs api", Long: `A longer description that spans multiple lines and likely contains examples and usage of using your command. For example: Cobra is a CLI library for Go that empowers applications. This application is a tool to generate the needed files to quickly create a Cobra application.`, Run: func(cmd *cobra.Command, args []string) { goMaxProcs() }, }
GOMaxProcsCmd represents the GOMaxProcs command
var MetaCacheCmd = &cobra.Command{ Use: "MetaCache", Short: "helps to call MO QueryService/MetaCache api", Long: `A longer description that spans multiple lines and likely contains examples and usage of using your command. For example: Cobra is a CLI library for Go that empowers applications. This application is a tool to generate the needed files to quickly create a Cobra application.`, Run: func(cmd *cobra.Command, args []string) { metaCache() }, }
MetaCacheCmd represents the MetaCache command
Functions ¶
Types ¶
type GOGCPercentConfig ¶
type GOGCPercentConfig struct {
Percent *int32
}
type GOMEMLimitConfig ¶
type GOMEMLimitConfig struct {
Bytes *int64
}
type GoMaxProcsCmdConfig ¶
type GoMaxProcsCmdConfig struct {
Value *int32
}
type MetaCacheConfig ¶
type MetaCacheConfig struct {
Bytes *int64
}
type QueryServiceConfig ¶
func (QueryServiceConfig) GetAddress ¶
func (c QueryServiceConfig) GetAddress() string