client

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0, Apache-2.0 Imports: 9 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 {
	// contains filtered or unexported fields
}

func (Client) CheckAccessToImportType

func (c Client) CheckAccessToImportType(jwt auth.Token, id string, action model.AuthAction) (err error, code int)

CheckAccessToImportType NOT IMPLEMENTED!

func (Client) CreateImportType

func (c Client) CreateImportType(importType model.ImportType, jwt auth.Token) (result model.ImportType, err error, code int)

func (Client) DeleteImportType

func (c Client) DeleteImportType(id string, jwt auth.Token) (err error, errCode int)

func (Client) ReadImportType

func (c Client) ReadImportType(id string, jwt auth.Token) (result model.ImportType, err error, errCode int)

func (Client) SetImportType

func (c Client) SetImportType(importType model.ImportType, jwt auth.Token) (err error, code int)

type Interface

type Interface = api.Controller

func NewClient

func NewClient(baseUrl string) Interface

Jump to

Keyboard shortcuts

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