types

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2025 License: MIT Imports: 3 Imported by: 0

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.

Jump to

Keyboard shortcuts

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