Documentation ¶
Index ¶
- type Config
- func (c *Config) AddHeaders(headers Headers)
- func (c *Config) AddPathPrefixs(path_prefixs ...string)
- func (c Config) Call(method string, params string, body io.Reader) ([]byte, error)
- func (c Config) GetHandlerPath(handler string) string
- func (c Config) GetUri() string
- func (c Config) GetUrl() string
- func (c Config) Log()
- func (c Config) Print(name string)
- func (c Config) SendObj(method, action string, body_obj any) ([]byte, error)
- func (c *Config) Update()
- type Header
- type Headers
- type Services
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.0.9
type Config struct { Env string Url string Secure bool Port int Network string PathPrefix string Headers Headers }
func (*Config) AddHeaders ¶ added in v0.1.2
func (*Config) AddPathPrefixs ¶ added in v0.4.3
func (Config) GetHandlerPath ¶ added in v0.1.8
type Services ¶ added in v0.4.3
type Services []*Config
func GetServices ¶ added in v0.4.3
func (Services) AddHeaders ¶ added in v0.4.3
func (Services) AddPathPrefixs ¶ added in v0.4.3
Click to show internal directories.
Click to hide internal directories.