Skip to main content
Glama

Storyden

by Southclaws
Mozilla Public License 2.0
227
service.go994 B
package avatar import ( "context" "io" "go.uber.org/fx" "github.com/Southclaws/storyden/app/resources/account" "github.com/Southclaws/storyden/app/resources/account/account_querier" "github.com/Southclaws/storyden/app/services/avatar_gen" "github.com/Southclaws/storyden/internal/infrastructure/object" ) type Service interface { Exists(ctx context.Context, accountID account.AccountID) bool Set(ctx context.Context, accountID account.AccountID, stream io.Reader, size int64) error Get(ctx context.Context, accountID account.AccountID) (io.Reader, int64, error) } func Build() fx.Option { return fx.Provide(New) } type service struct { accountQuery *account_querier.Querier generator avatar_gen.AvatarGenerator storage object.Storer } func New( accountQuery *account_querier.Querier, generator avatar_gen.AvatarGenerator, storage object.Storer, ) Service { return &service{ accountQuery: accountQuery, generator: generator, storage: storage, } }

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