ocpp-go
Open Charge Point Protocol implementation in Go
파일 탐색기
최종 버전 다운로드 (.zip)- bug.yml
- feature_request.yml
- general_question.yml
- autogen.yaml
- docker-publish.yml
- release.yml
- test.yaml
- CODEOWNERS
- dependabot.yaml
- ISSUE_TEMPLATE.md
- pull_request_template.md
- ocpp-1.6.md
- ocpp-2.0.1.md
- ocpp1.6-security-extension.md
- testing.md
- charge_point_sim.go
- config.go
- Dockerfile
- handler.go
- central_system_sim.go
- Dockerfile
- handler.go
- create-test-certificates.sh
- docker-compose.tls.yml
- docker-compose.yml
- openssl-cp.conf
- openssl-cs.conf
- authorization_handler.go
- availability_handler.go
- charging_station_sim.go
- config.go
- data_handler.go
- diagnostics_handler.go
- display_handler.go
- Dockerfile
- firmware_handler.go
- handler.go
- iso15118_handler.go
- localauth_handler.go
- provisioning_handler.go
- remotecontrol_handler.go
- reservation_handler.go
- smartcharging_handler.go
- tariffcost_handler.go
- transactions_handler.go
- authorization_handler.go
- availability_handler.go
- csms_sim.go
- data_handler.go
- diagnostics_handler.go
- display_handler.go
- Dockerfile
- firmware_handler.go
- handler.go
- iso15118_handler.go
- meter_handler.go
- provisioning_handler.go
- reservation_handler.go
- security_handler.go
- smartcharging_handler.go
- transactions_handler.go
- create-test-certificates.sh
- docker-compose.tls.yml
- docker-compose.yml
- openssl-chargingstation.conf
- openssl-csms.conf
- callbackqueue.go
- log.go
- ocpp.go
- certificates.go
- delete_certificate.go
- get_installed_certificates.go
- install_certificate.go
- authorize.go
- boot_notification.go
- change_availability.go
- change_configuration.go
- clear_cache.go
- core.go
- data_transfer.go
- get_configuration.go
- heartbeat.go
- meter_values.go
- remote_start_transaction.go
- remote_stop_transaction.go
- reset.go
- start_transaction.go
- status_notification.go
- stop_transaction.go
- unlock_connector.go
- extended_trigger_message.go
- trigger_message.go
- diagnostics_status_notification.go
- firmware.go
- firmware_status_notification.go
- get_diagnostics.go
- update_firmware.go
- get_local_list_version.go
- local_auth_list.go
- send_local_list.go
- get_log.go
- log.go
- log_status_notification.go
- remote_trigger.go
- trigger_message.go
- cancel_reservation.go
- reservation.go
- reserve_now.go
- secure_firmware.go
- signed_update_firmware.go
- signed_update_firmware_status_notitfication.go
- certificate_signed.go
- security.go
- security_event_notification.go
- sign_certificate.go
- clear_charging_profile.go
- get_composite_schedule.go
- set_charging_profile.go
- smart_charging.go
- datetime.go
- security_extension.go
- types.go
- central_system.go
- charge_point.go
- v16.go
- mock_certificates_charge_point_handler.go
- mock_core_central_system_handler.go
- mock_core_charge_point_handler.go
- mock_extended_trigger_message_charge_point_handler.go
- mock_firmware_central_system_handler.go
- mock_firmware_charge_point_handler.go
- mock_local_auth_list_central_system_handler.go
- mock_local_auth_list_charge_point_handler.go
- mock_logging_central_system_handler.go
- mock_logging_charge_point_handler.go
- mock_ocpp16.go
- mock_remote_trigger_central_system_handler.go
- mock_remote_trigger_charge_point_handler.go
- mock_reservation_central_system_handler.go
- mock_reservation_charge_point_handler.go
- mock_secure_firmware_CentralSystemHandler.go
- mock_secure_firmware_ChargePointHandler.go
- mock_security_central_system_handler.go
- mock_security_charge_point_handler.go
- mock_smart_charging_central_system_handler.go
- mock_smart_charging_charge_point_handler.go
- authorize_test.go
- boot_notification_test.go
- cancel_reservation_test.go
- certificate_signed_test.go
- change_availability_test.go
- change_configuration_test.go
- clear_cache_test.go
- clear_charging_profile_test.go
- common_test.go
- data_transfer_test.go
- delete_certificate_test.go
- diagnostics_status_notification_test.go
- firmware_status_notification_test.go
- get_composite_schedule_test.go
- get_configuration_test.go
- get_diagnostics_test.go
- get_installed_certificate_ids_test.go
- get_local_list_version_test.go
- heartbeat_test.go
- install_certificate_test.go
- meter_values_test.go
- ocpp16_extension_test.go
- ocpp16_test.go
- proto_test.go
- remote_start_transaction_test.go
- remote_stop_transaction_test.go
- reserve_now_test.go
- reset_test.go
- send_local_list_test.go
- set_charging_profile_test.go
- sign_certificate_test.go
- signed_update_firmware_test.go
- start_transaction_test.go
- status_notification_test.go
- stop_transaction_test.go
- trigger_message_test.go
- unlock_connector_test.go
- update_firmware_test.go
- authorization.go
- authorize.go
- clear_cache.go
- availability.go
- change_availability.go
- heartbeat.go
- status_notification.go
- data.go
- data_transfer.go
- clear_variable_monitoring.go
- customer_information.go
- diagnostics.go
- get_log.go
- get_monitoring_report.go
- log_status_notification.go
- notify_customer_information.go
- notify_event.go
- notify_monitoring_report.go
- set_monitoring_base.go
- set_monitoring_level.go
- set_variable_monitoring.go
- types.go
- clear_display_message.go
- display.go
- get_display_messages.go
- notify_display_messages.go
- set_display_message.go
- types.go
- firmware.go
- firmware_status_notification.go
- publish_firmware.go
- publish_firmware_status_notification.go
- unpublish_firmware.go
- update_firmware.go
- delete_certificate.go
- get_15118ev_certificate.go
- get_certificate_status.go
- get_installed_certificate_ids.go
- install_certificate.go
- iso_15118.go
- get_local_list_version.go
- local_auth_list.go
- send_local_list.go
- meter.go
- meter_values.go
- boot_notification.go
- get_base_report.go
- get_report.go
- get_variables.go
- notify_report.go
- provisioning.go
- reset.go
- set_network_profile.go
- set_variables.go
- remote_control.go
- request_start_transaction.go
- request_stop_transaction.go
- trigger_message.go
- unlock_connector.go
- cancel_reservation.go
- reservation.go
- reservation_status_update.go
- reserve_now.go
- certificate_signed.go
- security.go
- security_event_notification.go
- sign_certificate.go
- clear_charging_profile.go
- cleared_charging_limit.go
- get_charging_profiles.go
- get_composite_schedule.go
- notify_charging_limit.go
- notify_ev_charging_needs.go
- notify_ev_charging_schedule.go
- report_charging_profiles.go
- set_charging_profile.go
- smart_charging.go
- cost_updated.go
- tariff_cost.go
- get_transaction_status.go
- transaction_event.go
- transactions.go
- datetime.go
- types.go
- charging_station.go
- csms.go
- v2.go
- authorize_test.go
- boot_notification_test.go
- cancel_reservation_test.go
- certificate_signed_test.go
- change_availability_test.go
- clear_cache_test.go
- clear_charging_profile_test.go
- clear_display_message_test.go
- clear_variable_monitoring_test.go
- cleared_charging_limit_test.go
- common_test.go
- cost_updated_test.go
- customer_information_test.go
- data_transfer_test.go
- delete_certificate_test.go
- firmware_status_notification_test.go
- get_15118ev_certificate_test.go
- get_base_report_test.go
- get_certificate_status_test.go
- get_charging_profiles_test.go
- get_composite_schedule_test.go
- get_display_messages_test.go
- get_installed_certificate_ids_test.go
- get_local_list_version_test.go
- get_log_test.go
- get_monitoring_report_test.go
- get_report_test.go
- get_transaction_status_test.go
- get_variables_test.go
- heartbeat_test.go
- install_certificate_test.go
- log_status_notification_test.go
- meter_values_test.go
- notify_charging_limit_test.go
- notify_customer_information_test.go
- notify_display_messages_test.go
- notify_ev_charging_needs_test.go
- notify_ev_charging_schedule_test.go
- notify_event_test.go
- notify_monitoring_report_test.go
- notify_report_test.go
- ocpp2_test.go
- proto_test.go
- publish_firmware_status_notification_test.go
- publish_firmware_test.go
- report_charging_profiles_test.go
- request_start_transaction_test.go
- request_stop_transaction_test.go
- reservation_status_update_test.go
- reserve_now_test.go
- reset_test.go
- security_event_notification_test.go
- send_local_list_test.go
- set_charging_profile_test.go
- set_display_message_test.go
- set_monitoring_base_test.go
- set_monitoring_level_test.go
- set_network_profile_test.go
- set_variable_monitoring_test.go
- set_variables_test.go
- sign_certificate_test.go
- status_notification_test.go
- transaction_event_test.go
- trigger_message_test.go
- unlock_connector_test.go
- unpublish_firmware_test.go
- update_firmware_test.go
- mock_CanceledRequestHandler.go
- mock_ClientDispatcher.go
- mock_ClientHandler.go
- mock_ClientState.go
- mock_dialector.go
- mock_ErrorHandler.go
- mock_InvalidMessageHook.go
- mock_Message.go
- mock_RequestHandler.go
- mock_RequestQueue.go
- mock_ResponseHandler.go
- mock_ServerDispatcher.go
- mock_ServerQueueMap.go
- mock_ServerState.go
- central_system_test.go
- charge_point_test.go
- client.go
- dispatcher.go
- dispatcher_test.go
- ocppj.go
- ocppj_test.go
- queue.go
- queue_test.go
- server.go
- state.go
- state_test.go
- mock_Channel.go
- mock_CheckClientHandler.go
- mock_Client.go
- mock_ClientOpt.go
- mock_ConnectedHandler.go
- mock_DisconnectedHandler.go
- mock_ErrorHandler.go
- mock_MessageHandler.go
- mock_Server.go
- mock_ServerOpt.go
- mock_WsClient.go
- mock_WsServer.go
- client.go
- network_test.go
- server.go
- toxiproxy.service
- websocket.go
- websocket_test.go
- .gitignore
- .mockery.yaml
- docker-compose.test.yaml
- go.mod
- go.sum
- LICENSE
- Makefile
- README.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/lorenzodonini/ocpp-go
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd ocpp-go
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker compose -f docker-compose.test.yaml up -d --build
compose 설정 파일에 정의된 서비스들을 대상으로 명령을 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
3. Go
보통go build ./...
Go 프로그램을 컴파일해 실행 파일을 만듭니다.
go run .
따로 빌드하지 않고 바로 Go 프로그램을 실행합니다.
빌드가 에러 없이 끝나면 성공입니다. go run . 을 썼다면 터미널 출력을 확인하세요.
4. Make
보통사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Make Linux/macOS는 보통 기본 설치되어 있습니다. Windows는 별도 설치(예: MSYS2, WSL)가 필요합니다.
make
생성된 빌드 설정을 바탕으로 실제 컴파일을 진행해 실행 파일을 만듭니다.
에러 없이 끝나면 성공입니다. 생성된 실행 파일을 직접 실행해보세요.
// repository documentation
Was this content helpful?
(0 ratings)
