Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ServiceName - The name of service.
ServiceName = "Version"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VersionAPI ¶
type VersionService ¶
func New ¶
func New(cfg *config.Config) *VersionService
New creates a new instance of the VersionService client.
func (*VersionService) GetVersion ¶
GetVersion - Gets the server version. RequestType: GET Input:
func (*VersionService) GetVersionWithContext ¶
func (s *VersionService) GetVersionWithContext(ctx context.Context) (output *models.Version, resp *http.Response, err error)
GetVersionWithContext - Gets the server version. RequestType: GET Input: ctx context.Context,
Click to show internal directories.
Click to hide internal directories.