client

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Asset     repository.Asset
	Tag       *Tag
	WorkSpace repository.WorkSpace
	Meta      repository.Meta
}

func New

func New(asset repository.Asset, tag *Tag, workspace repository.WorkSpace, meta repository.Meta) *Client

func (*Client) Close

func (c *Client) Close() error

func (*Client) CreateWorkSpace

func (c *Client) CreateWorkSpace(ws model.WSName) (*model.WorkSpace, error)

func (*Client) Init

func (c *Client) Init() error

type Tag

type Tag struct {
	TagRepository
	TagQuery
}

func NewTag

func NewTag(r repository.Tag, q query.Tag) *Tag

func (*Tag) Init

func (t *Tag) Init(ws model.WSName) error

type TagQuery

type TagQuery = query.Tag

type TagRepository

type TagRepository = repository.Tag

Jump to

Keyboard shortcuts

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