Documentation
¶
Index ¶
- func MachineId() string
- func NewRequest() *request
- func UnmarshalJsonBody(re *http.Request, v any) error
- type HttpClient
- type Machine
- type MachineStore
- func (machineStore *MachineStore) GetMachineLink(machineId string) string
- func (machineStore *MachineStore) GetMachineNum() int
- func (machineStore *MachineStore) GetMachines() []*Machine
- func (machineStore *MachineStore) GetTempMachines() []*Machine
- func (machineStore *MachineStore) Query(parameter *core.Parameter, localValue any) []any
- type Machines
- type Response
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRequest ¶ added in v0.3.1
func NewRequest() *request
Types ¶
type HttpClient ¶ added in v0.3.1
type HttpClient struct {
// contains filtered or unexported fields
}
func NewHttpClient ¶ added in v0.3.1
func NewHttpClient() *HttpClient
func (*HttpClient) CallByLink ¶ added in v0.3.1
type MachineStore ¶ added in v0.3.1
type MachineStore struct {
// contains filtered or unexported fields
}
func NewMachineStore ¶ added in v0.3.1
func NewMachineStore(context *core.Context) *MachineStore
func (*MachineStore) GetMachineLink ¶ added in v0.3.1
func (machineStore *MachineStore) GetMachineLink(machineId string) string
func (*MachineStore) GetMachineNum ¶ added in v0.3.1
func (machineStore *MachineStore) GetMachineNum() int
func (*MachineStore) GetMachines ¶ added in v0.3.1
func (machineStore *MachineStore) GetMachines() []*Machine
func (*MachineStore) GetTempMachines ¶ added in v0.3.1
func (machineStore *MachineStore) GetTempMachines() []*Machine
type Machines ¶ added in v0.3.1
type Machines struct {
// contains filtered or unexported fields
}
func NewMachines ¶ added in v0.3.1
func NewMachines() *Machines
Click to show internal directories.
Click to hide internal directories.