models

package
v0.0.0-...-0885896 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Channel

type Channel struct {
	gorm.Model
	Token  string
	Name   string
	Lang   string
	Script string `gorm:"type:text"`
	Target string
}

func (*Channel) Run

func (c *Channel) Run(ctx context.Context, payload string) (response, contentType string, err error)

func (*Channel) Transform

func (c *Channel) Transform(ctx context.Context, payload string) (string, error)

Jump to

Keyboard shortcuts

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