Versions in this module Expand all Collapse all v0 v0.1.0 Apr 9, 2024 Changes in this version + type Auth struct + Basic []AuthBasicValue + Type string + func (a Auth) GetAuthBasicCredential(env *Env, params []Param) (string, string) + type AuthBasicValue struct + Key string + Value string + type Body struct + Raw string + func (u Body) Get(env *Env, params []Param) string + type Collection struct + Info Info + Items Items + Metadata Metadata + func (c Collection) FindByMethod(method string) Items + func (c Collection) FindItemByLabel(label string) *Item + func (c Collection) GetMethods() []string + func (c Collection) SortByName() Collection + type CollectionHistoryItem struct + Body []byte + Env *Env + ExecutedAt time.Time + Item *Item + Params []Param + Status string + func NewCollectionHistoryItem(item *Item, status string, body []byte, env *Env, params []Param) CollectionHistoryItem + func (i CollectionHistoryItem) GetSuggestDescription() string + type CollectionHistoryItems []CollectionHistoryItem + func (r CollectionHistoryItems) FindByLabel(label string) *CollectionHistoryItem + func (r CollectionHistoryItems) SortByExecutedAt() CollectionHistoryItems + type Env struct + Name string + Params []EnvParam + func NewEnv() Env + func (e Env) GetName() string + type EnvParam struct + Key string + Value string + type Header struct + Key string + Value string + type Headers []Header + func (h Headers) Get(env *Env, params []Param) map[string]string + type Info struct + Name string + type Item struct + Items Items + Name string + Request Request + func (i Item) Contains(pattern string) ItemContainsPattern + func (i Item) GetLabel() string + func (i Item) GetParams() []string + func (i Item) IsRequest() bool + type ItemContainsPattern struct + Child bool + Parent bool + func (i ItemContainsPattern) Contains() bool + type Items []Item + func (items Items) SortByLabel() Items + func (items Items) SortByName() Items + type Metadata struct + Methods []string + type PSTCollection struct + Id string + Name string + type PSTCollections struct + Collections []PSTCollection + type PSTEnvironment struct + Id string + Name string + type PSTEnvironments struct + Environments []PSTEnvironment + type PSTWorkspace struct + Id string + Name string + type PSTWorkspaces struct + Workspaces []PSTWorkspace + func (w PSTWorkspaces) Find(workspaceIdOrName string) *PSTWorkspace + type Param struct + Key string + Value string + type PostmanCollection struct + Collection Collection + type PostmanEnvironment struct + Environment Env + type Request struct + Auth Auth + Body Body + Header Headers + Method string + Url Url + type Url struct + Path []string + Raw string + func (u Url) Get(env *Env, params []Param) string + func (u Url) GetLongPath() string + func (u Url) GetShortPath() string