response

package
v1.1.16197907192 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 10, 2025 License: Apache-2.0 Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthResponse

type AuthResponse struct {
	Username     string   `json:"username"`
	Roles        []string `json:"roles"`
	TokenType    string   `json:"token_type"`
	AccessToken  string   `json:"access_token"`
	ExpiresIn    int      `json:"expires_in"`
	RefreshToken string   `json:"refresh_token"`
}

type DeleteResponse

type DeleteResponse struct {
	Message string `json:"message"`
	Code    string `json:"code"`
}

type SearchResponse

type SearchResponse struct {
	Count       int    `json:"count"`
	CurrentPage int    `json:"currentPage"`
	PageSize    int    `json:"pageSize"`
	QueryTime   int    `json:"queryTime"`
	Sort        string `json:"sort"`
	Order       string `json:"order"`
	Query       string `json:"query"`
	Assets      []struct {
		Type     string `json:"type"`
		Name     string `json:"name"`
		ID       int    `json:"id"`
		Enabled  bool   `json:"enabled"`
		Ref      string `json:"ref"`
		Branches []struct {
			Path string `json:"path"`
			Id   int    `json:"id"`
		} `json:"branches"`
		Asset interface{} `json:"asset"`
	} `json:"assets"`
}

type StatusResponse

type StatusResponse struct {
	DateTime int64  `json:"dateTime"`
	Version  string `json:"version"`
	Build    int    `json:"build"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL