Skip to content

ウェブアクセラレータ向け高レベルAPIライブラリ

License

Notifications You must be signed in to change notification settings

sacloud/webaccel-service-go

Repository files navigation

webaccel-service-go

Go Reference Tests Go Report Card

ウェブアクセラレータ向け高レベルAPIライブラリ

概要

ウェブアクセラレータのAPIをラップし、CRUD+L+Action操作を統一的な手順で行えるインターフェースを提供します。

⚠️ webaccel-service-goは現在開発中です。

関連プロジェクト:

インターフェースの例:

// サイト操作の例
func (s *Service) Find(req *FindRequest) ([]*webaccel.Site, error)
func (s *Service) FindWithContext(ctx context.Context, req *FindRequest) ([]*webaccel.Site, error)

func (s *Service) Read(req *ReadRequest) (*webaccel.Site, error)
func (s *Service) ReadWithContext(ctx context.Context, req *ReadRequest) (*webaccel.Site, error)

func (s *Service) Update(req *UpdateRequest) (*webaccel.Site, error)
func (s *Service) UpdateWithContext(ctx context.Context, req *UpdateRequest) (*webaccel.Site, error)

以下のリソースに対応しています。

.
├── cache
├── site
│   └── certificate
└── usage

Installation

Use go get.

go get github.com/sacloud/webaccel-service-go

Then import the webaccel package into your own code.

import "github.com/sacloud/webaccel-service-go"

License

webaccel-service-go Copyright 2022-2025 The sacloud/webaccel-service-go authors.

This project is published under Apache 2.0 License.

About

ウェブアクセラレータ向け高レベルAPIライブラリ

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published