Documentation ¶ Index ¶ func Setup(route gin.IRoutes, doc *swag.Spec) type Config type Target type Web func NewWebServer(conf *Config) *Web func (w *Web) Identifier() string func (w *Web) Start(ctx context.Context) error func (w *Web) Stop(ctx context.Context) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Setup ¶ func Setup(route gin.IRoutes, doc *swag.Spec) Types ¶ type Config ¶ type Config struct { Address string Targets []Target } type Target ¶ type Target struct { Address string Spec *swag.Spec } type Web ¶ type Web struct { // contains filtered or unexported fields } func NewWebServer ¶ func NewWebServer(conf *Config) *Web func (*Web) Identifier ¶ func (w *Web) Identifier() string func (*Web) Start ¶ func (w *Web) Start(ctx context.Context) error func (*Web) Stop ¶ func (w *Web) Stop(ctx context.Context) error Source Files ¶ View all Source files web.go Click to show internal directories. Click to hide internal directories.