service

package module
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: Apache-2.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

[!WARNING]

このレポジトリの内容は下記に集約・移転しました。 github.com/sacloud/sacloud-sdk-go

今後は上記のレポジトリで開発を行います。 このライブラリを使用している方は、importを変更していただきますようお願いいたします。

// 変更前
import "github.com/sacloud/webaccel-service-go"

// 変更後
import "github.com/sacloud/sacloud-sdk-go/service/webaccel"

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.

Documentation

Overview

Deprecated: This module has moved to github.com/sacloud/sacloud-sdk-go. Please migrate to that module. This repository will be archived.

Index

Constants

View Source
const Version = "0.2.1"

Version バージョン

Variables

This section is empty.

Functions

func Services

func Services(client *webaccel.Client) []services.Service

Services サービス一覧を返す

Types

This section is empty.

Directories

Path Synopsis
acl

Jump to

Keyboard shortcuts

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