1. 24 9月, 2021 3 次提交
  2. 23 9月, 2021 1 次提交
  3. 22 9月, 2021 9 次提交
  4. 20 9月, 2021 3 次提交
  5. 19 9月, 2021 4 次提交
  6. 17 9月, 2021 1 次提交
  7. 14 9月, 2021 2 次提交
  8. 13 9月, 2021 2 次提交
  9. 11 9月, 2021 3 次提交
  10. 10 9月, 2021 3 次提交
  11. 08 9月, 2021 3 次提交
    • N
      Fix generating Dockerfile with Gomu (#2254) · 01b7b440
      Niek den Breeje 提交于
      Somehow I didn't test this and managed to forget to properly close a
      template control structure. This change fixes that.
      01b7b440
    • N
      Optimize Dockerfile generated by Gomu (#2253) · 0dd6afe1
      Niek den Breeje 提交于
      This change prevents having to rebuild the entire Docker image when your
      source code changes.
      0dd6afe1
    • N
      Fix Gomu's call response (#2251) · a36f52c6
      Niek den Breeje 提交于
      Gomu expects a `map[string]string` type response back, but this isn't
      always the case. When Gomu calls a service endpoint that responds with,
      let's say, a key where its value is a map or a list, Gomu would be
      unable to decode that response. By expecting a `map[string]interface{}`
      type response, Gomu is able to decode those responses as well.
      a36f52c6
  12. 07 9月, 2021 1 次提交
    • S
      Add AuthCall wrapper func (#2250) · 440aa4a1
      simon 提交于
      * Add grpc,memory,quic transport automatically discover
      
      * Add grpc,memory,quic transport automatically discover
      
      * Add jwt auth automatically discover
      
      * Add jwt auth automatically discover
      
      * Add config command option automatically discover
      
      * Add AuthCall wrapper func
      440aa4a1
  13. 06 9月, 2021 2 次提交
    • N
      Simplify gomu cmd registering (#2249) · f77c91b7
      Niek den Breeje 提交于
      * Use internal runtime package for gomu run
      
      This change refactors the `gomu run` command to use Go Micro's internal
      runtime package in order to run services. Not only does this clean up
      duplicate functionality between Go Micro and Gomu, but also adds the
      feature to Gomu to run remote projects. For example, the following
      command pulls in a remote project and runs it locally.
      
      ```bash
      gomu run github.com/auditemarlow/helloworld
      ```
      
      The `gomu run` command remains backwards compatible. By invoking `gomu
      run` in a Go Micro project directory, Gomu will simply run that project.
      
      * Simplify Gomu's command registering
      
      By leveraging Go's `init()` function, we can simplify registering
      commands just a tad.
      f77c91b7
    • N
      Use internal runtime package for gomu run (#2248) · a58b8883
      Niek den Breeje 提交于
      This change refactors the `gomu run` command to use Go Micro's internal
      runtime package in order to run services. Not only does this clean up
      duplicate functionality between Go Micro and Gomu, but also adds the
      feature to Gomu to run remote projects. For example, the following
      command pulls in a remote project and runs it locally.
      
      ```bash
      gomu run github.com/auditemarlow/helloworld
      ```
      
      The `gomu run` command remains backwards compatible. By invoking `gomu
      run` in a Go Micro project directory, Gomu will simply run that project.
      a58b8883
  14. 04 9月, 2021 1 次提交
    • S
      Add config command option automatically discover (#2246) · 270d910b
      simon 提交于
      * Add grpc,memory,quic transport automatically discover
      
      * Add grpc,memory,quic transport automatically discover
      
      * Add jwt auth automatically discover
      
      * Add jwt auth automatically discover
      
      * Add config command option automatically discover
      270d910b
  15. 03 9月, 2021 2 次提交
    • N
      Fix client gRPC plugin (#2245) · 77bf39f2
      Niek den Breeje 提交于
      The helloworld examples found in the `google.golang.org/grpc/examples`
      package were imported multiple times as different versions, resulting in
      package conflicts. By running `go mod tidy`, these conflicts are
      resolved and the gRPC client plugin can now be imported again.
      77bf39f2
    • N
      Fix Skaffold pipelines for client projects (#2244) · c45073a3
      Niek den Breeje 提交于
      * Update greeter references to helloworld
      
      * Add new client command
      
      With this change, Gomu users will be able to generate template projects
      for clients to services. Additionally vendor support has been built in
      so Gomu users can now generate projects using fully qualified package
      names, for example:
      
      ```bash
      gomu new service github.com/auditemarlow/helloworld
      ```
      
      This will create a new service project `helloworld` with its module name
      already set to `github.com/auditemarlow/helloworld`. Likewise, Gomu
      users can then generate client projects in the same manner:
      
      ```bash
      gomu new client github.com/auditemarlow/helloworld
      ```
      
      This will create a `helloworld-client` project that uses the protobufs
      found in the `github.com/auditemarlow/helloworld` service. This removes
      at least some strain in configuring these module dependencies yourself;
      you can just scaffold them outright from the start.
      
      Although the default client project is highly opinionated, it works
      straight out of the box and has Skaffold in mind. Gomu users should be
      able to get going in a matter of seconds.
      
      * Update README
      
      * Fix Skaffold pipeline for generated client projects
      c45073a3