Versions in this module Expand all Collapse all v1 v1.6.3 May 2, 2020 Changes in this version + type Client struct + Endpoint string + func (c *Client) AddService(service Service) error + type Cop struct + func New(config CopConfig) *Cop + func NewNoOp() *Cop + func (c *Cop) GetRule(r chi.Router) (string, error) + func (c *Cop) RegisterChi(r chi.Router) error + func (c *Cop) RegisterGojiEndpoint(endpoint, method string) error + func (c *Cop) WithLog(log *logan.Entry) *Cop + type CopConfig struct + Endpoint string + ServiceName string + ServicePort string + ServicePrefix string + Upstream string + type Coper interface + Cop func() *Cop + func NewCoper(getter kv.Getter) Coper + type Service struct + Data ServiceData + type ServiceAttributes struct + Name string + Port string + Rule string + Url string + type ServiceData struct + Attributes ServiceAttributes + ID string + Type string v1.6.2 Feb 21, 2020