hello

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2022 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Processor

type Processor interface {
	Timer
	embed.Scanner
	embed.Parser

	DoA(ctx context.Context, n int) error
	Handle(ctx context.Context, u *User) error
	Get(ctx context.Context, id int64, content otelgosdk.Content) (otelgo.Person, error)
	NoName(context.Context, int)
	ManyParams(ctx context.Context, params ...string)
	UseArray(ctx context.Context, contents []*otelgosdk.Content) (User, error)
	UseMap(ctx context.Context, m map[otelgosdk.Content]otelgosdk.Content) map[User]User
}

Processor ...

type Simple

type Simple interface {
	embed.Scanner

	Handle(ctx context.Context, u *User) error
	Variadic(ctx context.Context, names ...string)
}

Simple ...

type Timer

type Timer interface {
	StartTimer(ctx context.Context, d int32)
}

Timer ...

type User

type User struct {
	ID        int64
	Name      string
	CreatedAt time.Time
	IsValid   sql.NullBool
}

User ...

Directories

Path Synopsis
sdk

Jump to

Keyboard shortcuts

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