{"id":21070196,"url":"https://github.com/mattheusv/go3270","last_synced_at":"2025-05-16T05:30:40.621Z","repository":{"id":57552302,"uuid":"157263367","full_name":"mattheusv/go3270","owner":"mattheusv","description":"go3270 is a Golang interface to x3270 terminal emulator.","archived":false,"fork":false,"pushed_at":"2019-05-06T16:35:32.000Z","size":10,"stargazers_count":11,"open_issues_count":1,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-14T01:59:12.767Z","etag":null,"topics":["golang","mainframe","mainframe-emulator","x3270"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mattheusv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-11-12T19:14:33.000Z","updated_at":"2024-08-12T20:34:14.000Z","dependencies_parsed_at":"2022-09-26T18:50:39.571Z","dependency_job_id":null,"html_url":"https://github.com/mattheusv/go3270","commit_stats":null,"previous_names":["mattheusv/go3270","msalcantara/go3270"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattheusv%2Fgo3270","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattheusv%2Fgo3270/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattheusv%2Fgo3270/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mattheusv%2Fgo3270/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mattheusv","download_url":"https://codeload.github.com/mattheusv/go3270/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254473740,"owners_count":22077160,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["golang","mainframe","mainframe-emulator","x3270"],"created_at":"2024-11-19T18:44:31.176Z","updated_at":"2025-05-16T05:30:40.184Z","avatar_url":"https://github.com/mattheusv.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# go3270 ![Build Status](https://travis-ci.org/msalcantara/go3270.svg?branch=master) [![Release](https://img.shields.io/github/release/msalcantara/go3270.svg)](https://github.com/msalcantara/go3270/releases) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![GoDoc](https://godoc.org/github.com/msalcantara/go3270?status.png)](https://godoc.org/github.com/msalcantara/go3270)\n\ngo3270 is a Golang interface to 3270 terminal emulator.\n\n## Requirements\n- go3270 require  [x3270](http://x3270.bgp.nu/index.html) executables in your PATH\n\n- Go 1.11.x or greater\n\n## x3270 support versions\n\n - v3.3.14ga11\n\n## Install\n```$ go get github.com/msalcantara/go3270```\n\n## Example\n```go\npackage main\n\nimport (\n\t\"log\"\n\n\t\"github.com/msalcantara/go3270\"\n)\n\nfunc main() {\n\n\te := go3270.Emulator{\n\t\tHost: \"0.0.0.0\",\n\t\tPort: 992,\n\t}\n\n\tif err := e.Connect(); err != nil {\n\t\tlog.Fatalf(\"error to create connection: %v\\n\", err)\n\t}\n\n\tif err := e.SetString(\"my_user\"); err != nil {\n\t\tlog.Fatalf(\"error to set user: %v\\n\", err)\n\t}\n\n\tif err := e.Press(go3270.Tab); err != nil {\n\t\tlog.Fatalf(\"error to press tab: %v\\n\", err)\n\t}\n\n\tif err := e.SetString(\"my_password\"); err != nil {\n\t\tlog.Fatalf(\"error to set password: %v\\n\", err)\n\t}\n\n\tif err := e.Press(go3270.Enter); err != nil {\n\t\tlog.Fatalf(\"error to press enter: %v\\n\", err)\n\t}\n\n\tv, err := e.GetValue(0, 1, 4)\n\tif err != nil {\n\t\tlog.Fatalf(\"error to get value: %v\", err)\n\t}\n\tlog.Println(v)\n\n\tif err := e.Disconnect(); err != nil {\n\t\tlog.Fatalf(\"error to disconnect: %v\\n\", err)\n\t}\n\n}\n```\n## License\n\ngo3270 is licensed under the [MIT][mit] license.\n\n[mit]: https://raw.githubusercontent.com/tebeka/selenium/master/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattheusv%2Fgo3270","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmattheusv%2Fgo3270","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmattheusv%2Fgo3270/lists"}