Documentation ¶
Index ¶
Constants ¶
View Source
const (
FileNameKey = "FileName"
)
Variables ¶
View Source
var ( // ErrNodeNotFound is returned from ServiceClient in case of not found error. ErrNodeNotFound = layer.ErrNodeNotFound // ErrNodeAccessDenied is returned from ServiceClient service in case of access denied error. ErrNodeAccessDenied = layer.ErrNodeAccessDenied )
Functions ¶
This section is empty.
Types ¶
type GetNodesParams ¶
type NodeResponse ¶
type ServiceClient ¶
type ServiceClient interface {
GetNodes(ctx context.Context, p *GetNodesParams) ([]NodeResponse, error)
}
ServiceClient is a client to interact with tree service. Each method must return ErrNodeNotFound or ErrNodeAccessDenied if relevant.
Click to show internal directories.
Click to hide internal directories.