Versions in this module Expand all Collapse all v0 v0.1.0 Jun 15, 2021 Changes in this version + type GiteeOpts struct + AccessToken string + Branch string + ClientID string + ClientSecret string + Email string + Password string + Path string + RepoName string + func (g *GiteeOpts) Parse(str string) string + func (g *GiteeOpts) URL() string + func (g *GiteeOpts) Upload(fileName string, data []byte) (string, error) + type GithubOpts struct + Branch string + Path string + RepoName string + Token string + func (g *GithubOpts) Parse(str string) string + func (g *GithubOpts) String() string + func (g *GithubOpts) URL() string + func (g *GithubOpts) Unmarshal(opts []byte) *GithubOpts + func (g *GithubOpts) Upload(fileName string, data []byte) (string, error) + type SmmsOpts struct + Token string + func (s *SmmsOpts) Parse(str string) string + func (s *SmmsOpts) URL() string + func (s *SmmsOpts) Upload(fileName string, data []byte) (string, error) + type TokenResponse struct + AccessToken string + CreatedAt int64 + ExpiresIn int64 + RefreshToken string + Scope string + TokenType string