api

package
v0.9.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 26, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type API

type API struct {
	// Address is address for handle API
	Address string `json:"address" yaml:"address" hcl:"address,optional"`
	// ServiceAddress is address for listen service handlers
	ServiceAddress string `json:"serviceAddress" yaml:"serviceAddress" hcl:"serviceAddress,optional"`
}

API config

func (API) Validate

func (cfg API) Validate() error

Validate config

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL