Git Product home page Git Product logo

hertz-examples's Introduction

Hertz Examples

English | δΈ­ζ–‡

How to run

You can enter the example for information about "How to run"

Bizdemo

Server

  • hello: Example of launching a hertz "hello world" application
  • config: Example of configuring hertz server
  • protocol: Example of using http1, tls and other protocols of hertz
  • middleware: Example of using middleware of hertz
    • basicauth: Example of using BasicAuth middleware
    • cors: Example of using CORS middleware
    • custom: Example of using custom middleware
    • pprof: Example of using pprof middleware
    • requestid: Example of using RequestID middleware
  • binding: Example of parameter binding and validation
  • parameters: Example of getting query, form, cookie
  • file: Examples of file upload, file download, and static file services
  • render: Example of render body as json, html, protobuf
  • redirect: Examples of redirects to internal/external URI
  • streaming: Example of streaming read/write for hertz server
  • graceful_shutdown: Example of a graceful shutdown for hertz server
  • unit_test: Example of writing unit tests using the interface provided by hertz without network transmission
  • tracer: Example of using Jaeger for link tracing
  • monitoring: Example of using Prometheus for metrics monitoring
  • multiple_service: Example of using hertz with multiple services
  • adaptor: Example of using adaptor to integrate hertz with package built for http.Handler interface , including a demonstration on using jade as template engine.
  • sentinel: Example of using sentinel-golang in hertz
  • reverseproxy: Example of using reverseproxy in hertz server
  • gzip: Example of using gzip middleware in hertz server
  • hlog: Example of using hlog and its log extension

Client

Note

All commands to execute the example should be executed under "hertz-example".

hertz-examples's People

Contributors

baize1998 avatar chenghonour avatar coderpoet avatar fgyffff avatar haswf avatar justlorain avatar l2nce avatar li-jin-gou avatar pedroamc avatar powerxu519 avatar rogerogers avatar rushwing avatar skyenought avatar sujit-baniya avatar yuandjiang avatar zstone12 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.