connection

package
v0.0.0-...-8b6722b Latest Latest
Warning

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

Go to latest
Published: Feb 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 ConnectionService

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

func NewConnectionService

func NewConnectionService(logger logr.Logger) *ConnectionService

func (ConnectionService) CreateConnection

func (connectionService ConnectionService) CreateConnection(
	ctx context.Context, input ent.CreateConnectionInput,
) (*ent.Connection, error)

func (ConnectionService) UpdateConnection

func (connectionService ConnectionService) UpdateConnection(
	ctx context.Context, id pulid.PULID, input ent.UpdateConnectionInput,
) (*ent.Connection, error)

type ConnectionServicer

type ConnectionServicer interface {
	CreateConnection(
		ctx context.Context, input ent.CreateConnectionInput,
	) (*ent.Connection, error)
	UpdateConnection(ctx context.Context, id pulid.PULID, input ent.UpdateConnectionInput) (*ent.Connection, error)
}

Jump to

Keyboard shortcuts

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