client

package
v0.4.10 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DO

func DO(config, fn string, args *Args) (string, error)

DO : fn ["Help", "ToJSON", "ToSIF"]

func DoWithTrace added in v0.4.3

func DoWithTrace(ctx context.Context, config, fn string, args *Args) (string, error)

DoWithTrace :

func NewCfg added in v0.4.3

func NewCfg(cfgStruName string, mReplExpr map[string]string, cfgPaths ...string) interface{}

NewCfg :

Types

type Args

type Args struct {
	Data   []byte
	Ver    string
	ToNATS bool
}

Args is arguments for "Route"

type Config added in v0.4.3

type Config struct {
	Service string
	Route   struct {
		ToJSON string
		ToSIF  string
		Help   string
	}
	Server struct {
		Protocol string
		IP       string
		Port     int
	}
	Access struct {
		Timeout int
	}
}

Config : AUTO Created From /home/qmiao/Desktop/temp/n3-sif2json/Server/client/config.toml

Jump to

Keyboard shortcuts

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