CodePix

command module
v0.0.0-...-36690f1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

README

protoc --go_out=application/grpc/pb --go_opt=paths=source_relative --go-grpc_out=application/grpc/pb --go-grpc_opt=paths=source_relative --proto_path=application/grpc/protofiles application/grpc/protofiles/*.proto

subir a aplicação

sudo docker-compose up

abrir o terminal do docker

sudo docker-compose exec app /bin/bash

instalar/atualizar pacotes

go mod tidy

rodar main

go run cmd/main.go -> sobe e cria as tabelas

bash do docker -> evans -r repl -> call RegisterPixKey

kafka-topics --list --bootstrap-server=localhost:9092

terminal do kafka [appuser@e37ac8230722 ~]$ kafka-console-consumer --topic=teste --bootstrap-server=localhost:9092

terminal da aplicação root@f8a20ee43244:/go/src# go run main.go kafka go run main.go all

Documentation

Overview

Copyright © 2022 NAME HERE <EMAIL ADDRESS>

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.

Directories

Path Synopsis
application
domain
infrastructure
db

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL