chain

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Chain

type Chain struct {
	AccessToken string
	Config      *Config
}

func NewChain

func NewChain(accessToken string, config *Config) *Chain

func (*Chain) Run

func (s *Chain) Run(name string) (*Result, error)

type Config

type Config struct {
	// timeout seconds
	Timeout int
}

type Result

type Result struct {
	Code    int                 `json:"code"`
	Message string              `json:"message"`
	Result  []map[string]string `json:"result"`
}

Jump to

Keyboard shortcuts

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