github.com/NpoolPlatform/chain-middleware@v0.0.0-20240228100535-eb1bcf896eb9/api/fiat/api.go (about)

     1  package fiat
     2  
     3  import (
     4  	"github.com/NpoolPlatform/message/npool/chain/mw/v1/fiat"
     5  	"github.com/grpc-ecosystem/grpc-gateway/v2/runtime"
     6  	"google.golang.org/grpc"
     7  )
     8  
     9  type Server struct {
    10  	fiat.UnimplementedMiddlewareServer
    11  }
    12  
    13  func Register(server grpc.ServiceRegistrar) {
    14  	fiat.RegisterMiddlewareServer(server, &Server{})
    15  }
    16  
    17  func RegisterGateway(mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) error {
    18  	return nil
    19  }