hello

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 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 GenericHandler added in v0.4.0

type GenericHandler interface {
	GetNull(ctx context.Context, info Null[otelgo.AnotherInfo]) (Null[otelgo.Person], error)
}

GenericHandler ...

type Handler added in v0.4.0

type Handler interface {
	Process(ctx context.Context, n int) error
}

Handler ...

type InterfaceWithUnderscore added in v0.3.0

type InterfaceWithUnderscore interface {
	GetName(ctx context.Context, _ string, _ int) (_ int32, _ error)
}

InterfaceWithUnderscore ...

type Null added in v0.4.0

type Null[T any] struct {
	Valid bool
	Data  T
}

Null ...

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 SimpleAlias added in v0.3.0

type SimpleAlias = Simple

SimpleAlias ...

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