presenter

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2023 License: AGPL-3.0-or-later Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Function added in v1.4.0

type Function struct {
	ID          string `json:"id"`
	Name        string `json:"name"`
	Image       string `json:"image"`
	CreatedTime string `json:"created_time"`
}

func FunctionFromModel added in v1.4.0

func FunctionFromModel(fn model.Function) Function

type FunctionsList added in v1.4.0

type FunctionsList struct {
	PageNumber uint32     `json:"page_number"`
	PageSize   uint32     `json:"page_size"`
	Items      []Function `json:"items"`
}

func FunctionsListFromModels added in v1.4.0

func FunctionsListFromModels(pageNumber uint32, pageSize uint32, functions []model.Function) FunctionsList

type Invocation

type Invocation struct {
	ID           string  `json:"id"`
	FunctionName string  `json:"function_name"`
	StartedTime  *string `json:"started_time"`
	EndedTime    *string `json:"ended_time"`
	Input        *string `json:"input"`
	Output       *string `json:"output"`
}

func InvocationFromModel

func InvocationFromModel(inv model.Invocation) Invocation

type InvocationsList added in v1.4.0

type InvocationsList struct {
	PageNumber uint32       `json:"page_number"`
	PageSize   uint32       `json:"page_size"`
	Items      []Invocation `json:"items"`
}

func InvocationsListFromModels added in v1.4.0

func InvocationsListFromModels(pageNumber uint32, pageSize uint32, invocations []model.Invocation) InvocationsList

Jump to

Keyboard shortcuts

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