package store import "context" type LayerRepository interface { AddLayer(ctx context.Context, proxyName ProxyName, layerType LayerType, layerName string, postion int) error MoveLayer(ctx context.Context, proxyName ProxyName, layerType LayerType, layerName string, position int) error RemoveLayer(ctx context.Context, proxyName ProxyName, LayerType, layerName string) error GetLayer(ctx context.Context, proxyName ProxyName, LayerType, layerName string) (*Layer, error) GetLayers(ctx context.Context, proxyName ProxyName) ([]*Layer, string) }