github.com/tickoalcantara12/micro/v3@v3.0.0-20221007104245-9d75b9bcbab9/docs/v2/design/server/api.md (about)

     1  # API Gateway
     2  
     3  API Gateway is useful, when you have many services and want to have single point where you authentificate, athorize users.
     4  And pass request for specific endpoint to specific micro service via rpc call or pubsub system.
     5  
     6  ## Overview
     7  
     8  API Gateway must provide ability not to register some handler interface to specific endpoint via some protocol like rest or grpc, graphql etc for http, unix or udp for plain sockets etc.
     9  But as services can up and down registration must be done not once at start, but when some service want to expose it via api.
    10  
    11  ## Implemenations
    12  
    13  Now we have api handlers:
    14  * api
    15  * broker
    16  * cloudevents
    17  * event
    18  * file
    19  * http
    20  * registry
    21  * rpc
    22  * udp
    23  * unix
    24  * web
    25  
    26  ## Design
    27  
    28  At this moment we don't have ability to register handler after api service starts.
    29  
    30  ## Proposed changes
    31  
    32  Create proto service definition and implemets it. Needs ivestigation how the best do that.
    33