Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ModelResponse ¶
type ModelResponse struct {
// ID is the ID of the model
ID string `json:"id"`
// Tags are the tags of the model
Tags []string `json:"tags"`
// Config is the config of the model
Config map[string]string `json:"config"`
// Created is the creation time of the model
Created time.Time `json:"created"`
}
ModelResponse is the response for a model
func (ModelResponse) MarshalJSON ¶
func (mr ModelResponse) MarshalJSON() ([]byte, error)
MarshalJSON implements json.Marshaler.
func (*ModelResponse) UnmarshalJSON ¶
func (mr *ModelResponse) UnmarshalJSON(b []byte) error
UnmarshalJSON implements json.Unmarshaler.
Click to show internal directories.
Click to hide internal directories.