hostservice

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Serv

type Serv interface {
	Delete(ctx context.Context, id uuid.UUID) error
	GetAll(ctx context.Context) ([]*host.Host, error)
	GetByID(ctx context.Context, id uuid.UUID) (*host.Host, error)
	Store(ctx context.Context, u []*host.Host) error
	Update(ctx context.Context, u *host.Host) error
}

func NewHostServ

func NewHostServ(repo repo2.Repo) Serv

Jump to

Keyboard shortcuts

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