target

package
v1.5.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DefaultManager

type DefaultManager struct{}

DefaultManager implement the Manager interface

func NewDefaultManager

func NewDefaultManager() *DefaultManager

NewDefaultManager returns an instance of DefaultManger

func (*DefaultManager) GetTarget

func (d *DefaultManager) GetTarget(id int64) (*models.RepTarget, error)

GetTarget ...

type Manager

type Manager interface {
	GetTarget(int64) (*models.RepTarget, error)
}

Manager defines the methods that a target manager should implement

Jump to

Keyboard shortcuts

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