target

package
Version: v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2018 License: Apache-2.0 Imports: 2 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

Source Files

Jump to

Keyboard shortcuts

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