Versions in this module Expand all Collapse all v1 v1.0.1 Feb 7, 2025 Changes in this version + type Page struct + ContentType string + Created string + LastModified string + Name string + Size int + type Pages struct + PageSlice *[]Page + func (pages Pages) GetLatestCreated() (*Page, error) + func (pages Pages) GetLatestModified() (*Page, error) + type RawPage struct + ContentType string + Created int64 + LastModified int64 + Name string + Size int type SBClient + func (client *SBClient) GetPages(skip bool, skipStrings ...string) (pages *Pages, err error) v1.0.0 Feb 3, 2025 Changes in this version + type SBClient struct + Endpoint string + HttpClient *http.Client + Token string + func NewClient(endpoint string, token string) *SBClient + func (client *SBClient) Append(page string, data string, separator string) (body string, err error) + func (client *SBClient) CreateRequest(method string, page string, body io.Reader) (req *http.Request, err error) + func (client *SBClient) Delete(page string) (body string, err error) + func (client *SBClient) Get(page string) (body string, err error) + func (client *SBClient) Put(page string, data string) (body string, err error)