proxy

package
v0.0.0-...-9d7b045 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	ID int32
}

type UserFinder

type UserFinder interface {
	FindUser(id int32) (User, error)
}

type UserList

type UserList []User

func (*UserList) FindUser

func (t *UserList) FindUser(id int32) (User, error)

type UserListProxy

type UserListProxy struct {
	MockedDatabase      *UserList
	StackCache          UserList
	StackSize           int
	LastSearchUsedCache bool
}

func (*UserListProxy) FindUser

func (u *UserListProxy) FindUser(id int32) (User, error)

Jump to

Keyboard shortcuts

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