{"modulePath":"github.com/linuxsuren/api-testing/extensions/store-orm","version":"v0.0.0-20231225064953-4eab371064f4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package pkg\n\nCopyright 2023 API Testing Authors.\n\nLicensed 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\n\n\thttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless 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.\n\nCopyright 2023 API Testing Authors.\n\nLicensed 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\n\n\thttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless 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.\n\n## Functions\n\n```go\nfunc ConvertToGRPCTestSuite(suite *TestSuite) (result *remote.TestSuite)\n```\n\n```go\nfunc ConvertToRemoteTestCase(testcase *TestCase) (result *server.TestCase)\n```\n\n```go\nfunc NewRemoteServer() (s remote.LoaderServer)\n```\nNewRemoteServer creates a remote server instance\n\n```go\nfunc SliceToJSON(slice []string) (result string)\n```\n\n## Types\n\n```go\ntype TestCase struct {\n\tSuiteName string `json:\"suiteName\"`\n\tName      string `json:\"name\"`\n\tAPI       string\n\tMethod    string\n\tBody      string\n\tHeader    string\n\tQuery     string\n\tForm      string\n\n\tExpectStatusCode int\n\tExpectBody       string\n\tExpectSchema     string\n\tExpectHeader     string\n\tExpectBodyFields string\n\tExpectVerify     string\n}\n```\n\n```go\nfunc ConverToDBTestCase(testcase *server.TestCase) (result *TestCase)\n```\n\n```go\ntype TestSuite struct {\n\tName     string\n\tAPI      string\n\tSpecKind string\n\tSpecURL  string\n\tParam    string\n}\n```\n\n```go\nfunc ConvertToDBTestSuite(suite *remote.TestSuite) (result *TestSuite)\n```\n\n","path":"github.com/linuxsuren/api-testing/extensions/store-orm/pkg","name":"pkg","synopsis":"","isRedistributable":true}
