randomstring

package module
v0.0.0-...-dceaa68 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2020 License: MIT Imports: 4 Imported by: 0

README

Random String

This activity provides your Flogo app the ability to generate a random string consisting with the length you specify

Installation

flogo install github.com/retgits/flogo-components/activity/randomstring

Link for flogo web:

https://github.com/retgits/flogo-components/activity/randomstring

Schema

Inputs and Outputs:

{
"inputs":[
    {
      "name": "length",
      "type": "integer"
    }
  ],
  "outputs": [
    {
      "name": "result",
      "type": "string"
    }
  ]
}

Inputs

Input Description
length The length of the random string

Ouputs

Output Description
result The random string

Documentation

Overview

Package randomstring generates a random string consisting with the length you specify.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewActivity

func NewActivity(metadata *activity.Metadata) activity.Activity

NewActivity creates a new activity

Types

type MyActivity

type MyActivity struct {
	// contains filtered or unexported fields
}

MyActivity is a stub for your Activity implementation

func (*MyActivity) Eval

func (a *MyActivity) Eval(context activity.Context) (done bool, err error)

Eval implements activity.Activity.Eval

func (*MyActivity) Metadata

func (a *MyActivity) Metadata() *activity.Metadata

Metadata implements activity.Activity.Metadata

Jump to

Keyboard shortcuts

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