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 "plugin" 14 15 "gitlab.hexacode.org/go-libs/hctypes" 16 ) 17 18 type ConfigTemplateCallback struct { 19 Plugin string `json:"plugin,omitempty"` 20 Function string `json:"function,omitempty"` 21 plugin *plugin.Plugin `json:"-"` 22 function func(*ConfigTemplateContext) hctypes.Dict `json:"-"` 23 } 24