Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Ctl is a global icon controller instance Ctl = NewController() )
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface { // Get the icon specified by digest Get(ctx context.Context, digest string) (icon *Icon, err error) }
Controller defines the operations related with icon
func NewController ¶
func NewController() Controller
NewController creates a new instance of the icon controller
Click to show internal directories.
Click to hide internal directories.