Versions in this module Expand all Collapse all v1 v1.1.2 Feb 28, 2021 v1.1.0 Feb 28, 2021 Changes in this version + type AbstractService struct + Endpoint *config.Endpoint + ServiceClient *utils.ServiceClient + type AccessTokenService struct + AccessTokenStorage *config.AccessTokenStorage + Credential *config.Credential + func NewAccessTokenService(serviceClient *utils.ServiceClient, endpoint *config.Endpoint, ...) *AccessTokenService + func (o *AccessTokenService) Get() (*response.AccessTokenBean, error) + func (o *AccessTokenService) Grant() (*response.AccessTokenBean, error) + type ViewTokenService struct + AccessTokenService *AccessTokenService + func NewViewTokenService(serviceClient *utils.ServiceClient, endpoint *config.Endpoint, ...) *ViewTokenService + func (o *ViewTokenService) GrantSubfileViewToken(integrateId int64, fileId int64) (string, error) + func (o *ViewTokenService) GrantViewTokenByCompareId(compareId int64) (string, error) + func (o *ViewTokenService) GrantViewTokenByFileId(fileId int64) (string, error) + func (o *ViewTokenService) GrantViewTokenByIntegrateId(integrateId int64) (string, error)