Versions in this module Expand all Collapse all v0 v0.28.1 Sep 3, 2024 v0.24.2 Aug 20, 2024 v0.24.1 Aug 20, 2024 v0.24.0 Aug 17, 2024 Changes in this version + func NewRouter(authToken string, svc *PinningService) http.Handler + type AddPinRequest struct + CID string + Meta map[string]interface{} + Name string + Origins []string + type ListPinsResponse struct + Count int + Results []*PinStatus + type Pin struct + CID string + Meta map[string]interface{} + Name string + Origins []string + type PinStatus struct + Created time.Time + Delegates []string + Info map[string]interface{} + M sync.Mutex + Pin Pin + RequestID string + Status string + func (p *PinStatus) Clone() PinStatus + func (p *PinStatus) MarshalJSON() ([]byte, error) + type PinningService struct + PinAdded func(*AddPinRequest, *PinStatus) + func New() *PinningService