Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
227
account_enum_gen.go2.58 kB
// Code generated by enumerator. DO NOT EDIT. package account import ( "database/sql/driver" "fmt" ) type AccountKind struct { v accountKindEnum } var ( AccountKindHuman = AccountKind{accountKindHuman} AccountKindBot = AccountKind{accountKindBot} ) func (r AccountKind) Format(f fmt.State, verb rune) { switch verb { case 's': fmt.Fprint(f, r.v) case 'q': fmt.Fprintf(f, "%q", r.String()) default: fmt.Fprint(f, r.v) } } func (r AccountKind) String() string { return string(r.v) } func (r AccountKind) MarshalText() ([]byte, error) { return []byte(r.v), nil } func (r *AccountKind) UnmarshalText(__iNpUt__ []byte) error { s, err := NewAccountKind(string(__iNpUt__)) if err != nil { return err } *r = s return nil } func (r AccountKind) Value() (driver.Value, error) { return r.v, nil } func (r *AccountKind) Scan(__iNpUt__ any) error { s, err := NewAccountKind(fmt.Sprint(__iNpUt__)) if err != nil { return err } *r = s return nil } func NewAccountKind(__iNpUt__ string) (AccountKind, error) { switch __iNpUt__ { case string(accountKindHuman): return AccountKindHuman, nil case string(accountKindBot): return AccountKindBot, nil default: return AccountKind{}, fmt.Errorf("invalid value for type 'AccountKind': '%s'", __iNpUt__) } } type VerifiedStatus struct { v verifiedStatusEnum } var ( VerifiedStatusNone = VerifiedStatus{verifiedStatusNone} VerifiedStatusVerifiedEmail = VerifiedStatus{verifiedStatusVerifiedEmail} ) func (r VerifiedStatus) Format(f fmt.State, verb rune) { switch verb { case 's': fmt.Fprint(f, r.v) case 'q': fmt.Fprintf(f, "%q", r.String()) default: fmt.Fprint(f, r.v) } } func (r VerifiedStatus) String() string { return string(r.v) } func (r VerifiedStatus) MarshalText() ([]byte, error) { return []byte(r.v), nil } func (r *VerifiedStatus) UnmarshalText(__iNpUt__ []byte) error { s, err := NewVerifiedStatus(string(__iNpUt__)) if err != nil { return err } *r = s return nil } func (r VerifiedStatus) Value() (driver.Value, error) { return r.v, nil } func (r *VerifiedStatus) Scan(__iNpUt__ any) error { s, err := NewVerifiedStatus(fmt.Sprint(__iNpUt__)) if err != nil { return err } *r = s return nil } func NewVerifiedStatus(__iNpUt__ string) (VerifiedStatus, error) { switch __iNpUt__ { case string(verifiedStatusNone): return VerifiedStatusNone, nil case string(verifiedStatusVerifiedEmail): return VerifiedStatusVerifiedEmail, nil default: return VerifiedStatus{}, fmt.Errorf("invalid value for type 'VerifiedStatus': '%s'", __iNpUt__) } }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Southclaws/storyden'

If you have feedback or need assistance with the MCP directory API, please join our Discord server