...

Source file src/gitlab.hexacode.org/go-libs/microservice/config/config_callback_default.go

Documentation: gitlab.hexacode.org/go-libs/microservice/config

     1  /*
     2   * Micro Service
     3   * Package: gitlab.hexacode.org/go-libs/microservice
     4   * Maintainer: Azzis Arswendo <azzis@hexacode.org>
     5   *
     6   * Copyright (C) 2023 Hexacode Teknologi Indonesia
     7   * All Rights Reserved
     8   */
     9  
    10  package config
    11  
    12  import (
    13  	"net/http"
    14  
    15  	"gitlab.hexacode.org/go-libs/hctypes"
    16  )
    17  
    18  func DefaultCallbackAPIFunction(*ConfigContext) (int, hctypes.Dict, *ReturnHTTPError) {
    19  	return http.StatusOK, hctypes.Dict{}, nil
    20  }
    21  
    22  func DefaultCallbackTemplateFunction(*ConfigTemplateContext) hctypes.Dict {
    23  	return nil
    24  }
    25  

View as plain text